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:
b808745
)
All cases are covered, no need for a default. This deals with the
author
Duncan Sands
<baldrick@free.fr>
Thu, 5 Jul 2012 10:14:33 +0000
(10:14 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Thu, 5 Jul 2012 10:14:33 +0000
(10:14 +0000)
corresponding clang warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159742
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 2aed08480028fdbbaef9ade410c767b482cc9ac8..891d401201f2a5fd0a30dc77327ccdde8694c305 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@
-2394,7
+2394,6
@@
TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
// constant being emitted.
uint64_t EqVal;
switch (getBooleanContents(N0.getValueType().isVector())) {
- default: llvm_unreachable("Unknown boolean contents!");
case UndefinedBooleanContent:
case ZeroOrOneBooleanContent:
EqVal = ISD::isTrueWhenEqual(Cond);