[llvm] [AMDGPU] Use correct operand order for shifts (PR #68299)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 08:09:28 PDT 2023


================
@@ -2432,10 +2432,13 @@ bool SIRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI,
         if (Offset == 0) {
           unsigned OpCode = IsSALU && !LiveSCC ? AMDGPU::S_LSHR_B32
                                                : AMDGPU::V_LSHRREV_B32_e64;
-          // XXX - This never happens because of emergency scavenging slot at 0?
----------------
arsenm wrote:

Is this reachable now? 

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


More information about the llvm-commits mailing list