Make an assert comment match the tested assertion.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 11 Nov 2006 20:07:59 +0000 (20:07 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 11 Nov 2006 20:07:59 +0000 (20:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31686 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index 3b51679810e5ef4acff695f50c0844f7e55d472d..f9a39293ed113c7acbf8c70adc272f2799b203a1 100644 (file)
@@ -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));