Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.178 -> 1.179 --- Log message: Initialize some variables the compiler warns about. --- Diffs of the changes: (+2 -2) DAGCombiner.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.178 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.179 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.178 Fri Jul 21 03:25:53 2006 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Tue Jul 25 15:44:41 2006 @@ -2603,7 +2603,7 @@ bool isUnary = true; bool isSplat = true; int VecNum = -1; - unsigned BaseIdx; + unsigned BaseIdx = 0; for (unsigned i = 0; i != NumElts; ++i) if (ShufMask.getOperand(i).getOpcode() != ISD::UNDEF) { unsigned Idx = cast<ConstantSDNode>(ShufMask.getOperand(i))->getValue(); @@ -2722,7 +2722,7 @@ bool isUnary = true; bool isSplat = true; int VecNum = -1; - unsigned BaseIdx; + unsigned BaseIdx = 0; for (unsigned i = 0; i != NumElts; ++i) if (ShufMask.getOperand(i).getOpcode() != ISD::UNDEF) { unsigned Idx = cast<ConstantSDNode>(ShufMask.getOperand(i))->getValue(); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits