Skip to content

Commit 4eb4b55

Browse files
committed
fixup! [RISCV] Add XSfmm pseudo instruction and vset* insertion support
1 parent b9357d2 commit 4eb4b55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,8 +1782,10 @@ void RISCVInsertVSETVLI::coalesceVSETVLIs(MachineBasicBlock &MBB) const {
17821782
for (MachineInstr &MI : make_early_inc_range(reverse(MBB))) {
17831783
// TODO: Support XSfmm.
17841784
if (RISCVII::hasTWidenOp(MI.getDesc().TSFlags) ||
1785-
RISCVInstrInfo::isXSfmmVectorConfigInstr(MI))
1785+
RISCVInstrInfo::isXSfmmVectorConfigInstr(MI)) {
1786+
NextMI = nullptr;
17861787
continue;
1788+
}
17871789

17881790
if (!RISCVInstrInfo::isVectorConfigInstr(MI)) {
17891791
Used.doUnion(getDemanded(MI, ST));

0 commit comments

Comments
 (0)