[llvm] [AMDGPU] New intrinsic llvm.amdgcn.pops.exiting.wave.id (PR #89612)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 09:00:52 PDT 2024


================
@@ -2485,6 +2485,9 @@ class AMDGPUGlobalLoadLDS : Intrinsic <
   "", [SDNPMemOperand]>;
 def int_amdgcn_global_load_lds : AMDGPUGlobalLoadLDS;
 
+def int_amdgcn_pops_exiting_wave_id :
+  DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable]>;
----------------
jayfoad wrote:

I'd prefer to keep the `IntrNoMem` because I'd like to get to a point where all intrinsics that touch memory also have memoperands in MIR.

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


More information about the llvm-commits mailing list