From 3e689f807060dbfcbb25fc999066ae83e28317f4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Aug 2004 03:51:55 +0000 Subject: [PATCH] Squelch warnings in release mode llvm-svn: 15460 --- llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp index dc3e1ae6de06..1dda359ed719 100644 --- a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp +++ b/llvm/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(BB->getBasicBlock()->getTerminator()); //Find where we are supposed to branch to - BasicBlock *nextBlock; + BasicBlock *nextBlock = 0; for(unsigned j=0; j getNumSuccessors(); ++j) { if(branchVal->getSuccessor(j) != BB->getBasicBlock()) nextBlock = branchVal->getSuccessor(j);