Skip to content

Commit 989c437

Browse files
[RISCV][GISEL][NFC] Add break statement to reduce diff on future changes of preISelLower
1 parent d5ec01b commit 989c437

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,7 @@ void RISCVInstructionSelector::preISelLower(MachineInstr &MI,
800800
replacePtrWithInt(MI.getOperand(1), MIB);
801801
MI.setDesc(TII.get(TargetOpcode::G_AND));
802802
MRI->setType(DstReg, sXLen);
803+
break;
803804
}
804805
}
805806
}

0 commit comments

Comments
 (0)