diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 2d2f51606e5..38d66cbcb2e 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -1172,7 +1172,7 @@ bool llvm::SimplifyCFG(BasicBlock *BB) { // instructions in the predecessor blocks can be promoted as well. If // not, we won't be able to get rid of the control flow, so it's not // worth promoting to select instructions. - BasicBlock *DomBlock, *IfBlock1 = 0, *IfBlock2 = 0; + BasicBlock *DomBlock = 0, *IfBlock1 = 0, *IfBlock2 = 0; if (CanPromote) { PN = cast(BB->begin()); BasicBlock *Pred = PN->getIncomingBlock(0);