[LFTR] Minor style cleanup [nfc]
This commit is contained in:
parent
206dc54534
commit
06006f438e
|
@ -961,9 +961,8 @@ static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB,
|
|||
// Ensure that we generate the same type as IndVar, or a smaller integer
|
||||
// type. In the presence of null pointer values, we have an integer type
|
||||
// SCEV expression (IVInit) for a pointer type IV value (IndVar).
|
||||
Type *LimitTy = ExitCount->getType();
|
||||
BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator());
|
||||
return Rewriter.expandCodeFor(IVLimit, LimitTy, BI);
|
||||
return Rewriter.expandCodeFor(IVLimit, ExitCount->getType(),
|
||||
ExitingBB->getTerminator());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user