aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-07-29 18:14:04 +0000
committerEric Christopher <echristo@apple.com>2009-07-29 18:14:04 +0000
commit978dae35e20766d262605b787f8e7f86d8c96dc8 (patch)
tree9d1b17118208704eb30d574df29a7f62eae54869
parentb7d3ed05d904b0eab7c3ef5fef75954dbf8c9b62 (diff)
downloadexternal_llvm-978dae35e20766d262605b787f8e7f86d8c96dc8.zip
external_llvm-978dae35e20766d262605b787f8e7f86d8c96dc8.tar.gz
external_llvm-978dae35e20766d262605b787f8e7f86d8c96dc8.tar.bz2
Add llvm_unreachable for ... unreachable code!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77480 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 5055487..c8eed72 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -6207,7 +6207,7 @@ X86TargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op, SelectionDAG &DAG) {
case Intrinsic::x86_sse41_ptestnzc:{
unsigned X86CC = 0;
switch (IntNo) {
- default: break;
+ default: llvm_unreachable("Bad fallthrough in Intrinsic lowering.");
case Intrinsic::x86_sse41_ptestz:
// ZF = 1
X86CC = X86::COND_E;