[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Reid Spencer
reid at x10sys.com
Tue Jul 25 13:44:55 PDT 2006
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();
More information about the llvm-commits
mailing list