forked from OSchip/llvm-project
[X86] Add llvm_unreachable to a switch that covers all expected values.
llvm-svn: 368857
This commit is contained in:
parent
e71db6584d
commit
8c545168ee
llvm/lib/Target/X86
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue