[X86] Add llvm_unreachable to a switch that covers all expected values.

llvm-svn: 368857
This commit is contained in:
Craig Topper 2019-08-14 14:51:19 +00:00
parent e71db6584d
commit 8c545168ee
1 changed files with 1 additions and 0 deletions
llvm/lib/Target/X86

View File

@ -4201,6 +4201,7 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
unsigned Opc = 0;
switch (IntNo) {
default: llvm_unreachable("Unexpected intrinsic!");
case Intrinsic::x86_sse3_monitor:
if (!Subtarget->hasSSE3())
break;