[llvm] [AMDGPU] New ttracedata intrinsics (PR #70235)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 03:01:04 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:

Yeah, I think you would have to read the instruction descriptions in conjunction with the separate threadtrace documentation, and most or all of that is not public anyway.

https://github.com/llvm/llvm-project/pull/70235


More information about the llvm-commits mailing list