mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 16:12:44 +00:00
Eliminate compilation warning on uninitialized variable.
llvm-svn: 17163
This commit is contained in:
parent
f0e2ce2279
commit
9f6f128630
@ -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<PHINode>(BB->begin());
|
||||
BasicBlock *Pred = PN->getIncomingBlock(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user