mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-11 05:17:36 +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.
|
||||
EVT VT = Node->getValueType(0);
|
||||
int TrueValue;
|
||||
switch(TLI.getBooleanContents(VT.isVector())) {
|
||||
default: assert(!"Unhandled BooleanContent value");
|
||||
switch (TLI.getBooleanContents(VT.isVector())) {
|
||||
case TargetLowering::ZeroOrOneBooleanContent:
|
||||
case TargetLowering::UndefinedBooleanContent:
|
||||
TrueValue = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user