Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.226 -> 1.227 --- Log message: Make sure operand does have size and element type operands. --- Diffs of the changes: (+2 -1) DAGCombiner.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.226 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.227 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.226 Mon Oct 16 17:49:37 2006 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Tue Oct 17 12:06:35 2006 @@ -3114,7 +3114,8 @@ // look though conversions that change things like v4f32 to v2f64. if (V->getOpcode() == ISD::VBIT_CONVERT) { SDOperand ConvInput = V->getOperand(0); - if (NumElts == + if (ConvInput.getValueType() == MVT::Vector && + NumElts == ConvInput.getConstantOperandVal(ConvInput.getNumOperands()-2)) V = ConvInput.Val; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits