Skip to content
  1. Mar 06, 2017
  2. Feb 28, 2017
    • Jonathan Peyton's avatar
      Removing couple unnecessary architecture guards. · 928b8ea2
      Jonathan Peyton authored
      This section of code (__kmp_test_then_* functions) is guarded by
      (KMP_ARCH_X86 || KMP_ARCH_X86_64) so it does not make sense to have other
      architecture guards inside this section.  Non-x86 architectures always
      use intrinsics (__sync_*)
      
      llvm-svn: 296525
      928b8ea2
  3. Feb 24, 2017
    • Michal Gorny's avatar
      [test] Try to link -latomic to provide atomics when available · 018d1359
      Michal Gorny authored
      When using -rtlib=libgcc, the fallback implementation of __atomic_*
      builtins is provided via libatomic (included in GCC). However, neither
      GCC itself nor clang link libatomic implicitly, and it seems that GCC
      upstream expects projects to link it explicitly as necessary.
      
      Since compiler-rt provides __atomic_* builtins directly in the main
      library, check if they are provided by the default libraries first.
      If they are not, check if -latomic is available to provide them
      and add explicit -latomic for tests in this case.
      
      This fixes unresolved __atomic_load() references when running openmp
      tests on i386 with libgcc backend.
      
      Differential Revision: https://reviews.llvm.org/D30083
      
      llvm-svn: 296183
      018d1359
  4. Feb 22, 2017
  5. Feb 17, 2017
  6. Feb 16, 2017
  7. Feb 15, 2017
  8. Feb 10, 2017
  9. Feb 07, 2017
    • Jonas Hahnfeld's avatar
      [libomptarget] Align test code with runtime/ · a620a074
      Jonas Hahnfeld authored
      This change allows setting LIBOMPTARGET_LLVM_LIT_EXECUTABLE and
      LIBOMPTARGET_FILECHECK_EXECUTABLE as full path. It also honors
      OPENMP_LLVM_TOOLS_DIR which is meant as a common configuration
      for both libomp and libomptarget.
      
      Maybe this should be done in a common CMake module, but I'm no expert here.
      
      Differential Revision: https://reviews.llvm.org/D29172
      
      llvm-svn: 294284
      a620a074
  10. Feb 06, 2017
  11. Feb 01, 2017
  12. Jan 30, 2017
  13. Jan 27, 2017
  14. Jan 25, 2017
  15. Jan 18, 2017
  16. Jan 12, 2017
    • Jonas Hahnfeld's avatar
      kmp_affinity: Fix check if specific bit is set · c9a8a6c0
      Jonas Hahnfeld authored
      Clang 4.0 trunk warns:
      warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses]
      
      This points to a potential bug if the code really wants to check if the single
      bit is not set: If for example (buf.edx >> 9) = 2 (has any bit set except the
      least significant one), 'logical not' will return 0 which stays 0 after the
      'bitwise and'.
      To do this correctly we first need to evaluate the 'bitwise and'. In that case
      it returns 2 & 1 = 0 which after the 'logical not' evaluates to 1.
      
      Differential Revision: https://reviews.llvm.org/D28599
      
      llvm-svn: 291764
      c9a8a6c0
  17. Jan 04, 2017
  18. Dec 21, 2016
  19. Dec 15, 2016
  20. Dec 14, 2016
  21. Dec 08, 2016
  22. Dec 01, 2016
  23. Nov 28, 2016
  24. Nov 21, 2016
Loading