Skip to content
  1. Aug 28, 2018
  2. Aug 27, 2018
    • Zachary Turner's avatar
      Update the Visual Studio Integration from user feedback. · 522f9aec
      Zachary Turner authored
      This patch removes the MSBuild warnings about options that
      clang-cl ignores.  It also adds several additional fields to
      the LLVM Configuration options page.  The first is that it
      adds support for LLD!  To give the user flexibility though,
      we don't want to force LLD to always-on, and if we're not
      forcing LLD then we might as well not force clang-cl either.
      So we add options that can enable or disable lld, clang-cl,
      or any combination of the two.  Whenever one is disabled,
      it falls back to the Microsoft equivalent.
      
      Additionally, for each of clang-cl and lld-link, we add a new
      configuration setting that allows Additional Options to be
      passed for that specific tool only.  This is similar to the
      C/C++ > Command Line > Additional Options entry box, but
      it serves the use case where a user switches back and forth
      between the toolsets in their vcxproj, but where cl.exe
      won't accept some options that clang-cl will.  In this case
      you can pass those options in the clang-cl additional options
      and whenever clang-cl is disabled (or the other toolset is
      selected entirely), those options won't get passed at all.
      
      llvm-svn: 340780
      522f9aec
    • Adrian Prantl's avatar
      Fix typo · f05f9387
      Adrian Prantl authored
      llvm-svn: 340779
      f05f9387
    • Richard Smith's avatar
      67c364dd
    • Roman Tereshin's avatar
      Revert "[SCEV][NFC] Check NoWrap flags before lexicographical comparison of SCEVs" · 02320eee
      Roman Tereshin authored
      This reverts r319889.
      
      Unfortunately, wrapping flags are not a part of SCEV's identity (they
      do not participate in computing a hash value or in equality
      comparisons) and in fact they could be assigned after the fact w/o
      rebuilding a SCEV.
      
      Grep for const_cast's to see quite a few of examples, apparently all
      for AddRec's at the moment.
      
      So, if 2 expressions get built in 2 slightly different ways: one with
      flags set in the beginning, the other with the flags attached later
      on, we may end up with 2 expressions which are exactly the same but
      have their operands swapped in one of the commutative N-ary
      expressions, and at least one of them will have "sorted by complexity"
      invariant broken.
      
      2 identical SCEV's won't compare equal by pointer comparison as they
      are supposed to.
      
      A real-world reproducer is added as a regression test: the issue
      described causes 2 identical SCEV expressions to have different order
      of operands and therefore compare not equal, which in its turn
      prevents LoadStoreVectorizer from vectorizing a pair of consecutive
      loads.
      
      On a larger example (the source of the test attached, which is a
      bugpoint) I have seen even weirder behavior: adding a constant to an
      existing SCEV changes the order of the existing terms, for instance,
      getAddExpr(1, ((A * B) + (C * D))) returns (1 + (C * D) + (A * B)).
      
      Differential Revision: https://reviews.llvm.org/D40645
      
      llvm-svn: 340777
      02320eee
    • Zachary Turner's avatar
      Set line endings to Windows on MSBuild files. · 4e039d64
      Zachary Turner authored
      Normally we force Unix line endings in the repository, but since these are Windows files which are consumed by Microsoft tools that we don't have the source of, we should probably err on the side of caution and force CRLF.
      
      llvm-svn: 340776
      4e039d64
    • Craig Topper's avatar
      [X86] Reverse the check prefixes in the test added in r340774. · 171c6fe6
      Craig Topper authored
      The 32-bit and 64-bit checks were reversed.
      
      llvm-svn: 340775
      171c6fe6
    • Craig Topper's avatar
      [X86] Add test cases to show current codegen of v2i32 div/rem in 32-bit and 64-bit modes · 76b18bee
      Craig Topper authored
      In particular this shows that we end up using libcalls in 32-bit mode even for division by constant.
      
      llvm-svn: 340774
      76b18bee
    • Sanjay Patel's avatar
      [x86] add tests for possibly avoiding scalar->vector move; NFC · 7b6df506
      Sanjay Patel authored
      llvm-svn: 340773
      7b6df506
    • Gheorghe-Teodor Bercea's avatar
      [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading · 7af5d66b
      Gheorghe-Teodor Bercea authored
      Summary: When offloading to a device and using the powerpc64le version of the auxiliary triple, the _CALL_ELF macro is not set correctly to 2 resulting in the attempt to include a header that does not exist. This patch fixes this problem.
      
      Reviewers: Hahnfeld, ABataev, caomhin
      
      Reviewed By: Hahnfeld
      
      Subscribers: guansong, cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D51312
      
      llvm-svn: 340772
      7af5d66b
    • Gheorghe-Teodor Bercea's avatar
      [OpenMP][Fix] Conditional compilation leaves variables unused · 15f5407d
      Gheorghe-Teodor Bercea authored
      Summary: Prevent variables from being left unused by conditional compilation.
      
      Reviewers: ABataev, grokos, Hahnfeld, caomhin, protze.joachim
      
      Reviewed By: Hahnfeld
      
      Subscribers: guansong, openmp-commits
      
      Differential Revision: https://reviews.llvm.org/D51303
      
      llvm-svn: 340771
      15f5407d
    • Kit Barton's avatar
      [PPC] Remove Darwin support from POWER backend. · 997165b2
      Kit Barton authored
      This patch removes uses of the Darwin ABI for PowerPC related test cases. This
      is the first step in removing Darwin support from the POWER backend.
      
      clang/test/CodeGen/darwin-ppc-varargs.c  was deleted because it was a darwin/ppc
      specific test case.
      
      All other tests were updated to remove the darwin/ppc specific invocation.
      
      Phabricator Review: https://reviews.llvm.org/D50989.
      
      llvm-svn: 340770
      997165b2
    • Vitaly Buka's avatar
      [lsan] Check that leak sanitizer works in the forked process · dd4c14e4
      Vitaly Buka authored
      Regression test for PR38698
      
      llvm-svn: 340769
      dd4c14e4
    • Andrea Di Biagio's avatar
      [llvm-mca] Remove unused include. NFC · 1a87a80d
      Andrea Di Biagio authored
      llvm-svn: 340768
      1a87a80d
    • Alexandre Eichenberger's avatar
      [OpenMP][libomptarget] rework of fatal error reporting · e9b7d8dc
      Alexandre Eichenberger authored
      Summary:
      Removed the function that used a lock and varargs
      Used the same mechanism as for debug messages
      
      Reviewers: ABataev, gtbercea, grokos, Hahnfeld
      
      Reviewed By: gtbercea, Hahnfeld
      
      Subscribers: mikerice, ABataev, RaviNarayanaswamy, guansong, openmp-commits
      
      Differential Revision: https://reviews.llvm.org/D51226
      
      llvm-svn: 340767
      e9b7d8dc
Loading