[PowerPC] fix up in rL324229, NFC
This patch fixes up my previous commit (add initialization of local variables).
llvm-svn: 324336
diff --git a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
index e853a3c..ae9b8c5 100644
--- a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
+++ b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
@@ -535,7 +535,7 @@
if (!TI) continue;
if (BranchInst *BI = dyn_cast<BranchInst>(TI)) {
- uint64_t TrueWeight, FalseWeight;
+ uint64_t TrueWeight = 0, FalseWeight = 0;
if (!BI->isConditional() ||
!BI->extractProfMetadata(TrueWeight, FalseWeight))
continue;