[clang] [llvm] [AMDGPU] Add Clang builtins for amdgcn s_ttrace intrinsics (PR #88076)
Stanislav Mekhanoshin via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 11 11:50:13 PDT 2024
================
@@ -61,6 +61,8 @@ BUILTIN(__builtin_amdgcn_s_waitcnt, "vIi", "n")
BUILTIN(__builtin_amdgcn_s_sendmsg, "vIiUi", "n")
BUILTIN(__builtin_amdgcn_s_sendmsghalt, "vIiUi", "n")
BUILTIN(__builtin_amdgcn_s_barrier, "v", "n")
+BUILTIN(__builtin_amdgcn_s_ttracedata, "vi", "n")
+BUILTIN(__builtin_amdgcn_s_ttracedata_imm, "vIs", "n")
----------------
rampitec wrote:
s_ttracedata_imm is only available since gfx10, so it needs to be a target bultin.
https://github.com/llvm/llvm-project/pull/88076
More information about the cfe-commits
mailing list