[PATCH] D101830: AMDGPU: Correct const_index_stride for wave 32 for PAL ABI

David Stuttard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 06:30:20 PDT 2021


dstuttard added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:557
+      const MCInstrDesc &SAndB32 = TII->get(AMDGPU::S_AND_B32);
+      BuildMI(MBB, I, DL, SAndB32, Rsrc03).addReg(Rsrc03).addImm(0xffdfffff);
+    }
----------------
arsenm wrote:
> Can you use S_BITSET0_B32 instead?
Could do - the s_and gets transformed somewhere to s_bitset anyway.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101830/new/

https://reviews.llvm.org/D101830



More information about the llvm-commits mailing list