[llvm] [AMDGPU] Handle MachineOperandType global address in SIFoldOperands. (PR #135424)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 12:48:07 PDT 2025
================
@@ -1161,6 +1161,10 @@ void SIFoldOperandsImpl::foldOperand(
if (OpToFold.isImm())
UseMI->getOperand(1).ChangeToImmediate(OpToFold.getImm());
+ else if (OpToFold.isGlobal())
----------------
arsenm wrote:
Add braces
https://github.com/llvm/llvm-project/pull/135424
More information about the llvm-commits
mailing list