diff options
author | Duncan Sands <baldrick@free.fr> | 2012-07-05 10:14:33 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-07-05 10:14:33 +0000 |
commit | 483c54b811badbfcaa040cdb6d84cf564afe75cf (patch) | |
tree | a33052dfab777fe5a363047cefb5848d25eba04d /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | b8087451cadab83332d6ba9c65227b6e925ea38f (diff) |
All cases are covered, no need for a default. This deals with the
corresponding clang warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 2aed084800..891d401201 100644 --- 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); |