1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

Fixed MSVC warning that not all control paths return a value.

llvm-svn: 258099
This commit is contained in:
Simon Pilgrim 2016-01-18 22:54:46 +00:00
parent 348623d27f
commit 82a3dcbbfd

View File

@ -1257,6 +1257,7 @@ bool TargetLowering::isExtendedTrueVal(const ConstantSDNode *N, EVT VT,
case TargetLowering::ZeroOrNegativeOneBooleanContent:
return N->isAllOnesValue() && SExt;
}
llvm_unreachable("Unexpected enumeration.");
}
/// Try to simplify a setcc built with the specified operands and cc. If it is