diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-04 03:51:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-04 03:51:55 +0000 |
commit | 46c2b3a5eca387bdfcbc3213584ab88aff1e974d (patch) | |
tree | 8da0dbc1842f214073975f0a9940e3a7f292c187 /lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp | |
parent | 13b03586d2911fb6ba324c1fca94c2e2a23444be (diff) |
Squelch warnings in release mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp')
-rw-r--r-- | lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp b/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp index dc3e1ae6de..1dda359ed7 100644 --- a/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp +++ b/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp @@ -631,8 +631,8 @@ void ModuloSchedulingPass::findAllReccurrences(MSchedGraphNode *node, 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 @@ void ModuloSchedulingPass::reconstructLoop(MachineBasicBlock *BB) { //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); |