[llvm] [AMDGPU] New ttracedata intrinsics (PR #70235)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 26 02:52:14 PDT 2023
================
@@ -1697,6 +1697,13 @@ def int_amdgcn_s_setprio :
DefaultAttrsIntrinsic<[], [llvm_i16_ty], [ImmArg<ArgIndex<0>>, IntrNoMem,
IntrHasSideEffects]>;
+def int_amdgcn_s_ttracedata :
+ DefaultAttrsIntrinsic<[], [llvm_i32_ty],
+ [IntrNoMem, IntrHasSideEffects]>;
+def int_amdgcn_s_ttracedata_imm :
----------------
jayfoad wrote:
We really need it. They do different things. s_ttracedata emits a 32-bit "token" into ttracedata. s_ttracedata_imm emits an 8-bit "token" (the low 8 bits of the imm16 operand).
https://github.com/llvm/llvm-project/pull/70235
More information about the llvm-commits
mailing list