mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Make an assert comment match the tested assertion.
llvm-svn: 31686
This commit is contained in:
parent
6b01730b52
commit
60a8a2e025
@ -1130,7 +1130,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
||||
case ISD::BIT_CONVERT:
|
||||
// Basic sanity checking.
|
||||
assert(MVT::getSizeInBits(VT) == MVT::getSizeInBits(Operand.getValueType())
|
||||
&& "Cannot BIT_CONVERT between two different types!");
|
||||
&& "Cannot BIT_CONVERT between types of different sizes!");
|
||||
if (VT == Operand.getValueType()) return Operand; // noop conversion.
|
||||
if (OpOpcode == ISD::BIT_CONVERT) // bitconv(bitconv(x)) -> bitconv(x)
|
||||
return getNode(ISD::BIT_CONVERT, VT, Operand.getOperand(0));
|
||||
|
Loading…
Reference in New Issue
Block a user