Skip to content

Commit 374e646

Browse files
committed
[RISCV] Add missing break to the last case in a switch. NFC
Might create a problem in the future if more cases are added.
1 parent 3d83a57 commit 374e646

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ static bool isSignExtendingOpW(MachineInstr &MI, MachineRegisterInfo &MRI,
286286
FixableDef.insert(&MI);
287287
return true;
288288
}
289+
break;
289290
}
290291

291292
return false;

0 commit comments

Comments
 (0)