We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37832d5 commit 046b87fCopy full SHA for 046b87f
llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Legality.h
@@ -41,6 +41,7 @@ struct ToStr {
41
case LegalityResultID::Widen:
42
return "Widen";
43
}
44
+ llvm_unreachable("Unknown LegalityResultID enum");
45
46
47
static const char *getVecReason(ResultReason Reason) {
@@ -50,6 +51,7 @@ struct ToStr {
50
51
case ResultReason::DiffTypes:
52
return "DiffTypes";
53
54
+ llvm_unreachable("Unknown ResultReason enum");
55
56
};
57
#endif // NDEBUG
0 commit comments