mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 12:02:58 +02:00
[IndVars] Rename variable; NFC.
llvm-svn: 247748
This commit is contained in:
parent
44a9c2f3e5
commit
7251dd0f22
@ -508,8 +508,8 @@ Value *IndVarSimplify::ExpandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S,
|
|||||||
Type *ResultTy) {
|
Type *ResultTy) {
|
||||||
// Before expanding S into an expensive LLVM expression, see if we can use an
|
// Before expanding S into an expensive LLVM expression, see if we can use an
|
||||||
// already existing value as the expansion for S.
|
// already existing value as the expansion for S.
|
||||||
if (Value *RetValue = Rewriter.findExistingExpansion(S, InsertPt, L))
|
if (Value *ExistingValue = Rewriter.findExistingExpansion(S, InsertPt, L))
|
||||||
return RetValue;
|
return ExistingValue;
|
||||||
|
|
||||||
// We didn't find anything, fall back to using SCEVExpander.
|
// We didn't find anything, fall back to using SCEVExpander.
|
||||||
return Rewriter.expandCodeFor(S, ResultTy, InsertPt);
|
return Rewriter.expandCodeFor(S, ResultTy, InsertPt);
|
||||||
|
Loading…
Reference in New Issue
Block a user