[llvm] [AMDGPU] Allow folding of non-subregs through REG_SEQUENCE (PR #151033)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 24 09:27:53 PST 2025
================
@@ -1465,6 +1477,33 @@ void SIFoldOperandsImpl::foldOperand(
return;
}
+ if (!FoldingImmLike && OpToFold.isReg() && ST->needsAlignedVGPRs()) {
----------------
arsenm wrote:
The same bug will exist for images with 32-bit addresses but the same thing should be applied
https://github.com/llvm/llvm-project/pull/151033
More information about the llvm-commits
mailing list