Skip to content

Commit e3d4cac

Browse files
committed
Fix MSVC "not all control paths return a value" warning
1 parent 88a1855 commit e3d4cac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13397,6 +13397,7 @@ struct NodeExtensionHelper {
1339713397
case ExtKind::FPExt:
1339813398
return RISCVISD::FP_EXTEND_VL;
1339913399
}
13400+
llvm_unreachable("Unknown ExtKind enum");
1340013401
}
1340113402

1340213403
/// Get or create a value that can feed \p Root with the given extension \p

0 commit comments

Comments
 (0)