[all-commits] [llvm/llvm-project] d492fa: [NVPTX] Add 'activemask' builtin and intrinsic sup...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jan 29 12:07:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d492faa7aa995aedac41e1f86aaf42dc5b43db54
      https://github.com/llvm/llvm-project/commit/d492faa7aa995aedac41e1f86aaf42dc5b43db54
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/test/CodeGen/builtins-nvptx.c
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Target/NVPTX/NVPTX.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    A llvm/test/CodeGen/NVPTX/activemask.ll

  Log Message:
  -----------
  [NVPTX] Add 'activemask' builtin and intrinsic support (#79768)

Summary:
This patch adds support for getting the 'activemask' instruction's value
without needing to use inline assembly. See the relevant PTX reference
for details.


https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-activemask




More information about the All-commits mailing list