[PowerPC] fix up in rL324229, NFC

This patch fixes up my previous commit (add initialization of local variables).

llvm-svn: 324336
This commit is contained in:
Hiroshi Inoue 2018-02-06 11:34:16 +00:00
parent 714f241304
commit ad48d2fe61
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ bool PPCCTRLoops::convertToCTRLoop(Loop *L) {
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;