[llvm] [AMDGPU] New ttracedata intrinsics (PR #70235)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 26 02:42:35 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 :
----------------
arsenm wrote:
Do we really need the imm form, or can the backend just fold the register version with appropriate constant inputs to the imm instruction?
https://github.com/llvm/llvm-project/pull/70235
More information about the llvm-commits
mailing list