projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d3ed0
)
Add llvm_unreachable for ... unreachable code!
author
Eric Christopher
<echristo@apple.com>
Wed, 29 Jul 2009 18:14:04 +0000
(18:14 +0000)
committer
Eric Christopher
<echristo@apple.com>
Wed, 29 Jul 2009 18:14:04 +0000
(18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77480
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index 505548773f5968795420e2d7cb6253ad72cb28cb..c8eed721eb28d03fefd1ffe27a2aa0f2746e1a59 100644
(file)
--- 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;