Skip to content

Commit 2dff96d

Browse files
committed
[RISCV] Remove unneeded code from RISCVPostRAExpandPseudo::expandMovImm. NFC
We accidentally left a call to generateInstSeq when we rewrote the code to use the X86InstrInfo::movImm.
1 parent eec9d0b commit 2dff96d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ bool RISCVPostRAExpandPseudo::expandMovImm(MachineBasicBlock &MBB,
8989

9090
int64_t Val = MBBI->getOperand(1).getImm();
9191

92-
RISCVMatInt::InstSeq Seq =
93-
RISCVMatInt::generateInstSeq(Val, MBB.getParent()->getSubtarget());
94-
assert(!Seq.empty());
95-
9692
Register DstReg = MBBI->getOperand(0).getReg();
9793
bool DstIsDead = MBBI->getOperand(0).isDead();
9894
bool Renamable = MBBI->getOperand(0).isRenamable();

0 commit comments

Comments
 (0)