[llvm-commits] CVS: llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 3 20:52:08 PDT 2004
Changes in directory llvm/lib/CodeGen/ModuloScheduling:
ModuloScheduling.cpp updated: 1.22 -> 1.23
---
Log message:
Squelch warnings in release mode
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
diff -u llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.22 llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.23
--- llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.22 Mon Aug 2 08:59:10 2004
+++ llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp Tue Aug 3 22:51:55 2004
@@ -631,8 +631,8 @@
int distance = 0;
int RecMII = II; //Starting value
MSchedGraphNode *last = node;
- MSchedGraphNode *srcBackEdge;
- MSchedGraphNode *destBackEdge;
+ MSchedGraphNode *srcBackEdge = 0;
+ MSchedGraphNode *destBackEdge = 0;
@@ -1736,7 +1736,7 @@
//Update last epilogue exit branch
BranchInst *branchVal = (BranchInst*) dyn_cast<BranchInst>(BB->getBasicBlock()->getTerminator());
//Find where we are supposed to branch to
- BasicBlock *nextBlock;
+ BasicBlock *nextBlock = 0;
for(unsigned j=0; j <branchVal->getNumSuccessors(); ++j) {
if(branchVal->getSuccessor(j) != BB->getBasicBlock())
nextBlock = branchVal->getSuccessor(j);
More information about the llvm-commits
mailing list