forked from OSchip/llvm-project
[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:
parent
714f241304
commit
ad48d2fe61
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue