Skip to content

Commit 076504d

Browse files
committed
fixup! fix -Wswitch warning
1 parent 7fe0a33 commit 076504d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22012,6 +22012,8 @@ std::pair<const TargetRegisterClass *, uint8_t>
2201222012
RISCVTargetLowering::findRepresentativeClass(const TargetRegisterInfo *TRI,
2201322013
MVT VT) const {
2201422014
switch (VT.SimpleTy) {
22015+
default:
22016+
break;
2201522017
case MVT::i8:
2201622018
case MVT::i16:
2201722019
case MVT::i32:

0 commit comments

Comments
 (0)