Skip to content

Commit 4c57893

Browse files
committed
Update interface for getRegSeqInit
1 parent 1f021d5 commit 4c57893

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
@@ -2211,7 +2211,7 @@ bool SIFoldOperandsImpl::tryFoldImmRegSequence(MachineInstr &MI) {
22112211
return false;
22122212

22132213
SmallVector<std::pair<MachineOperand *, unsigned>, 32> Defs;
2214-
if (!getRegSeqInit(Defs, Reg, MCOI::OPERAND_REGISTER))
2214+
if (!getRegSeqInit(Defs, Reg))
22152215
return false;
22162216

22172217
// Only attempting to fold immediate materializations.

0 commit comments

Comments
 (0)