Skip to content

Commit 2143e37

Browse files
committed
Add a llvm_unreachable
1 parent b658bbe commit 2143e37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Support/RISCVVIntrinsicUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,7 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, enum RVVRequire Require) {
12331233
STRINGIFY(RVV_REQ_Zvfh)
12341234
STRINGIFY(RVV_REQ_Experimental)
12351235
default:
1236+
llvm_unreachable("Unsupported RVVRequire!");
12361237
break;
12371238
}
12381239
return OS;

0 commit comments

Comments
 (0)