1. May 06, 2018
    • Fangrui Song's avatar
      Simplify LLVM_ATTRIBUTE_USED call sites. · 862eebb6
      Fangrui Song authored
      llvm-svn: 331599
      862eebb6
    • Aaron Ballman's avatar
      Disallow pointers to const in __sync_fetch_and_xxx. · a383c94c
      Aaron Ballman authored
      Diagnoses code like:
      
      void f(const int *ptr) {
        __sync_fetch_and_add(ptr, 1);
      }
      
      which matches the behavior of GCC and ICC.
      
      llvm-svn: 331598
      a383c94c
    • Teresa Johnson's avatar
      Add -target to address errors in test from r331592 · fedd3904
      Teresa Johnson authored
      The error turns out to be:
      Assertion failed: (Target.isCompatibleDataLayout(getDataLayout()) && "Can't create a MachineFunction using a Module with a " "Target-incompatible DataLayout attached\n"), function init, file /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-incremental/llvm/lib/CodeGen/MachineFunction.cpp, line 180.
      
      Add -target to address this. Also re-enable the test I had temporarily
      commented, and move it further down in case there is still a failure
      (since it pipes stderr to FileCheck).
      
      llvm-svn: 331597
      fedd3904
  2. May 05, 2018