Skip to content
Snippets Groups Projects
  1. Aug 04, 2017
    • Yaxun Liu's avatar
      Add OpenCL 2.0 atomic builtin functions as Clang builtin · 84162ace
      Yaxun Liu authored
      OpenCL 2.0 atomic builtin functions have a scope argument which is ideally
      represented as synchronization scope argument in LLVM atomic instructions.
      
      Clang supports translating Clang atomic builtin functions to LLVM atomic
      instructions. However it currently does not support synchronization scope
      of LLVM atomic instructions. Without this, users have to use LLVM assembly
      code to implement OpenCL atomic builtin functions.
      
      This patch adds OpenCL 2.0 atomic builtin functions as Clang builtin
      functions, which supports generating LLVM atomic instructions with
      synchronization scope operand.
      
      Currently only constant memory scope argument is supported. Support of
      non-constant memory scope argument will be added later.
      
      Differential Revision: https://reviews.llvm.org/D28691
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310082 91177308-0d34-0410-b5e6-96231b3b80d8
      84162ace
  2. Aug 03, 2017
  3. Aug 02, 2017
  4. Jul 31, 2017
  5. Jul 29, 2017
  6. Jul 26, 2017
  7. Jul 25, 2017
  8. Jul 22, 2017
  9. Jul 20, 2017
  10. Jul 19, 2017
  11. Jul 14, 2017
  12. Jul 11, 2017
  13. Jul 07, 2017
  14. Jul 05, 2017
  15. Jul 03, 2017
  16. Jul 01, 2017
  17. Jun 26, 2017
  18. Jun 23, 2017
  19. Jun 19, 2017
  20. Jun 16, 2017
Loading