[all-commits] [llvm/llvm-project] ea8014: [NVPTX] Add builtin for 'exit' handling (#79777)
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Jan 29 12:09:46 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea8014046c7f7c81f92d24832b873d356b2b6712
https://github.com/llvm/llvm-project/commit/ea8014046c7f7c81f92d24832b873d356b2b6712
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/NVPTXIntrinsics.td
M llvm/test/CodeGen/NVPTX/intrinsics.ll
Log Message:
-----------
[NVPTX] Add builtin for 'exit' handling (#79777)
Summary:
The PTX ISA has always supported the 'exit' instruction to terminate
individual threads. This patch adds a builtin to handle it. See the PTX
documentation for further details.
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#control-flow-instructions-exit
More information about the All-commits
mailing list