[all-commits] [llvm/llvm-project] 3c7073: [NVPTX] Add clang builtin for `__nvvm_reflect` int...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Feb 9 12:11:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c707310a3e0233c1bc364a408e6fb43e56e1b78
      https://github.com/llvm/llvm-project/commit/3c707310a3e0233c1bc364a408e6fb43e56e1b78
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/test/CodeGen/builtins-nvptx.c
    A clang/test/CodeGenOpenCL/reflect.cl
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/test/CodeGen/NVPTX/nvvm-reflect-opaque.ll
    M llvm/test/CodeGen/NVPTX/nvvm-reflect.ll

  Log Message:
  -----------
  [NVPTX] Add clang builtin for `__nvvm_reflect` intrinsic (#81277)

Summary:
Some recent support made usage of `__nvvm_reflect` more consistent. We
should expose it as a builtin rather than forcing users to externally
define the function.




More information about the All-commits mailing list