summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-11 20:07:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-11 20:07:59 +0000
commit2230144a7529a545ba0e1239b1af59ad521c3946 (patch)
treea5ae006b6c17f1535ed64c97281dae8ba6347d4e /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent3005d477972622e7810127184eb4080d6d0bb3a2 (diff)
downloadbcm5719-llvm-2230144a7529a545ba0e1239b1af59ad521c3946.tar.gz
bcm5719-llvm-2230144a7529a545ba0e1239b1af59ad521c3946.zip
Make an assert comment match the tested assertion.
llvm-svn: 31686
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 3b51679810e..f9a39293ed1 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -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));
OpenPOWER on IntegriCloud