1. Oct 26, 2019
  2. Oct 25, 2019
    • Saleem Abdulrasool's avatar
      build: reindent text (NFC) · abd89c24
      Saleem Abdulrasool authored
      Replace some hard tabs with spaces.  NFC.
      abd89c24
    • Scott Linder's avatar
      [AMDGPU] Remove update_llc_test_checks for a test · 7ad3636c
      Scott Linder authored
      The test split-arg-dbg-value.ll has a host-specific path in the
      full output captured by update_llc_test_checks.
      
      Fix for test failures introduced in https://reviews.llvm.org/D69402
      
      Tags: #llvm
      7ad3636c
    • Sanjay Patel's avatar
      [SLP] adjust code comment; NFC · b82fa80e
      Sanjay Patel authored
      (check commit access)
      b82fa80e
    • Roman Lebedev's avatar
      [APInt] Add saturating left-shift ops · 1cc8e1e1
      Roman Lebedev authored
      Summary:
      There are `*_ov()` functions already, so at least for consistency it may be good to also have saturating variants.
      These may or may not be needed for `ConstantRange`'s `shlWithNoWrap()`
      
      Reviewers: spatel, nikic
      
      Reviewed By: nikic
      
      Subscribers: hiraditya, dexonsmith, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D69398
      1cc8e1e1
    • Roman Lebedev's avatar
      [APInt] Add saturating multiply ops · b2c18445
      Roman Lebedev authored
      Summary:
      There are `*_ov()` functions already, so at least for consistency it may be good to also have saturating variants.
      These may or may not be needed for `ConstantRange`'s `mulWithNoWrap()`
      
      Reviewers: spatel, nikic
      
      Reviewed By: nikic
      
      Subscribers: hiraditya, dexonsmith, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D69397
      b2c18445
    • Itay Bookstein's avatar
      [CodeGen][SelectionDAG] Fix tiny bug in ExpandIntRes_UADDSUBO · 59a51d84
      Itay Bookstein authored
      Summary:
      Ternary expression checks for ISD::ADD instead of ISD::UADDO inside DAGTypeLegalizer::ExpandIntRes_UADDSUBO.
      This means the ternary expression will evaluate to ISD::SUBCARRY for both ISD::UADDO and ISD::USUBO nodes.
      Targets are likely to implement both, so impact will be very limited in practice.
      
      Reviewers: bogner, lebedev.ri
      
      Reviewed By: lebedev.ri
      
      Subscribers: lebedev.ri, hiraditya, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D68123
      59a51d84
    • paulhoad's avatar
      [clang-format] [NFC] update the documentation in Format.h to allow... · 6df7ef0d
      paulhoad authored
      [clang-format] [NFC] update the documentation in Format.h to allow dump_format_style.py to get a little closer to being correct.
      
      Summary:
      Running dump_format_style.py on the tip of the trunk causes ClangFormatStyleOptions.rst to have changes, which I think ideally it shouldn't.
      
      Some recent commits have meant Format.h and ClangFormatStyleOptions.rst have become out of sync such that dump_format_style.py either couldn't be run or generated incorrect .rst files.
      
      It's also important to remember to edit the IncludeStyles from Tooling.
      
      Make a couple of changes {D6833} {D64695} which came from recent clang-format commits that missed this step. There are still a couple of other changes  from commit {D67541} {D68296} which also need to be looked at, but I'd like to park these first two changes first.
      
      The authors of these original commits I've included in the reviewers, I'm happy to work on the changes, just really need to know which is the ground truth of the changes you want to keep (whats in the Format.h) or what is in the ClangFormatStyleOptions.rst
      
      Reviewers: klimek, mitchell-stellar, owenpan, jvoung, Manikishan, sammccall
      
      Reviewed By: mitchell-stellar
      
      Subscribers: cfe-commits
      
      Tags: #clang-format, #clang
      
      Differential Revision: https://reviews.llvm.org/D69404
      6df7ef0d
    • David Tenty's avatar
      [NFC] Rename LLVM_NO_DEAD_STRIP · 11c2a85d
      David Tenty authored
      Summary:
      The variable LLVM_NO_DEAD_STRIP is set in LLVM cmake files when building executables that might make use of plugins .The name of the variable does not convey the actual intended usage (i.e. for use with tools that have plugins), just what the eventual effect of setting in on some (i.e. not garbage collecting unused symbols).
      
      This patch renames it to LLVM_SUPPORT_PLUGINS to convey the intended usage, which will allow subsequent patches to add behavior to support that in different ways without confusion about whether it will do on, for example, non-gnu platforms.
      
      Reviewers: hubert.reinterpretcast, stevewan
      
      Reviewed By: stevewan
      
      Subscribers: cfe-commits, mgorny, llvm-commits
      
      Tags: #llvm, #clang
      
      Differential Revision: https://reviews.llvm.org/D69356
      11c2a85d
    • AndreyChurbanov's avatar
      OpenMP Tasks dependencies hash re-sizing fixed. · be29d928
      AndreyChurbanov authored
      Details:
      - nconflicts field initialized;
      - formatting fix (moved declaration out of the long line);
      - count conflicts in new hash as opposed to old one.
      
      Differential Revision: https://reviews.llvm.org/D68036
      be29d928
    • Luís Marques's avatar
      [RISCV] Add support for half-precision floats · 1baa5039
      Luís Marques authored
      Complete fp16 support by ensuring that load extension / truncate store
      operations are properly expanded.
      
      Reviewers: asb, lenary
      Reviewed By: lenary
      Differential Revision: https://reviews.llvm.org/D69246
      1baa5039
    • Kadir Cetinkaya's avatar
    • Petar Avramovic's avatar
      [MIPS GlobalISel] Select MSA vector generic and builtin fsqrt · 417dd678
      Petar Avramovic authored
      selectImpl is able to select G_FSQRT when we set bank for vector
      operands to fprb. Add detailed tests.
      Note: G_FSQRT is generated from llvm-ir intrinsics llvm.sqrt.*,
      and at the moment MIPS is not able to generate this intrinsic for
      vector type (some targets generate vector llvm.sqrt.* from calls
      to a builtin function).
      __builtin_msa_fsqrt_<format> will be transformed into G_FSQRT
      in legalizeIntrinsic and selected in the same way.
      
      Differential Revision: https://reviews.llvm.org/D69376
      417dd678