[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Reid Spencer
reid at x10sys.com
Sat Nov 11 12:08:13 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.372 -> 1.373
---
Log message:
Make an assert comment match the tested assertion.
---
Diffs of the changes: (+1 -1)
SelectionDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.372 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.373
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.372 Thu Nov 9 11:54:19 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Sat Nov 11 14:07:59 2006
@@ -1130,7 +1130,7 @@
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));
More information about the llvm-commits
mailing list