mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-13 08:56:04 +00:00
Remove default from fully covered switch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35a4a0ca51
commit
7a58099f0a
@ -3633,8 +3633,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node) {
|
|||||||
// illegal; expand it into a SELECT_CC.
|
// illegal; expand it into a SELECT_CC.
|
||||||
EVT VT = Node->getValueType(0);
|
EVT VT = Node->getValueType(0);
|
||||||
int TrueValue;
|
int TrueValue;
|
||||||
switch(TLI.getBooleanContents(VT.isVector())) {
|
switch (TLI.getBooleanContents(VT.isVector())) {
|
||||||
default: assert(!"Unhandled BooleanContent value");
|
|
||||||
case TargetLowering::ZeroOrOneBooleanContent:
|
case TargetLowering::ZeroOrOneBooleanContent:
|
||||||
case TargetLowering::UndefinedBooleanContent:
|
case TargetLowering::UndefinedBooleanContent:
|
||||||
TrueValue = 1;
|
TrueValue = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user