[llvm] [AMDGPU] Add DPP16 Row Share optimization for llvm.amdgcn.wave.shuffle (PR #177470)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 6 02:23:36 PST 2026


================
@@ -1759,6 +1842,12 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
     NewII->copyMetadata(II);
     return IC.eraseInstFromFunction(II);
   }
+  case Intrinsic::amdgcn_wave_shuffle: {
+    if (!ST->hasDPP())
----------------
jayfoad wrote:

Nit: isn't this redundant since you also check it inside tryWaveShuffleDPP?

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


More information about the llvm-commits mailing list