[llvm] [AMDGPU] Exclude CDNA parts from POPS exiting wave id pattern (PR #210892)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 07:49:50 PDT 2026


================
@@ -2042,7 +2042,7 @@ let SubtargetPredicate = isNotGFX9Plus in {
 def : GetFPModePat<fpmode_mask_gfx6plus>;
 }
 
-let SubtargetPredicate = isGFX9GFX10 in
+let SubtargetPredicate = HasPopsExitingWaveID in
----------------
arsenm wrote:

But yes the intrinsic should also be guarded (and if we put that there, it shouldn't be the convoluted mai-insts check)

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


More information about the llvm-commits mailing list