summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-12-16 00:01:27 +0000
committerBill Wendling <isanbard@gmail.com>2009-12-16 00:01:27 +0000
commit3766491eee57d7720f231a0cb6d7bb4503091b7a (patch)
tree67bfe2caf0d88cfc15bef64b1bf8aea612f63acd /llvm/lib/CodeGen/BranchFolding.cpp
parent776ef4dd325b76f28edcb41e418b808acae1814e (diff)
downloadbcm5719-llvm-3766491eee57d7720f231a0cb6d7bb4503091b7a.tar.gz
bcm5719-llvm-3766491eee57d7720f231a0cb6d7bb4503091b7a.zip
Initialize uninitialized variables.
llvm-svn: 91477
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 6c8e09141bd..6d30f6e5933 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/lib/CodeGen/BranchFolding.cpp
@@ -1274,7 +1274,7 @@ ReoptimizeBlock:
// Okay, there is no really great place to put this block. If, however,
// the block before this one would be a fall-through if this block were
// removed, move this block to the end of the function.
- MachineBasicBlock *PrevTBB, *PrevFBB;
+ MachineBasicBlock *PrevTBB = 0, *PrevFBB = 0;
SmallVector<MachineOperand, 4> PrevCond;
if (FallThrough != MF.end() &&
!TII->AnalyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) &&
OpenPOWER on IntegriCloud