Skip to content

Commit 232c014

Browse files
committed
Update interface for getRegSeqInit
1 parent 6b393a8 commit 232c014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIFoldOperands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ bool SIFoldOperandsImpl::tryFoldImmRegSequence(MachineInstr &MI) {
22062206
return false;
22072207

22082208
SmallVector<std::pair<MachineOperand *, unsigned>, 32> Defs;
2209-
if (!getRegSeqInit(Defs, Reg, MCOI::OPERAND_REGISTER))
2209+
if (!getRegSeqInit(Defs, Reg))
22102210
return false;
22112211

22122212
// Only attempting to fold immediate materializations.

0 commit comments

Comments
 (0)