diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2017-04-26 17:41:46 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2017-04-26 17:41:46 +0000 |
commit | c9f0a4f1eccf55c1f588c8d7e966c677a1baf781 (patch) | |
tree | 72db2032d37e7149b675d771c39d1a63ee88efa4 /llvm/lib/Transforms | |
parent | 67f83373e99dfd151737a3097790a3203a1630c7 (diff) | |
download | bcm5719-llvm-c9f0a4f1eccf55c1f588c8d7e966c677a1baf781.tar.gz bcm5719-llvm-c9f0a4f1eccf55c1f588c8d7e966c677a1baf781.zip |
CorrelatedValuePropagation: Rename a variable for consistency
llvm-svn: 301435
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp index b6a3124e746..b5a4cc2f395 100644 --- a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp +++ b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp @@ -488,7 +488,7 @@ static Constant *getConstantAt(Value *V, Instruction *At, LazyValueInfo *LVI) { ConstantInt::getFalse(C->getContext()); } -static bool runImpl(Function &F, LazyValueInfo *LVI, const SimplifyQuery &Q) { +static bool runImpl(Function &F, LazyValueInfo *LVI, const SimplifyQuery &SQ) { bool FnChanged = false; // Visiting in a pre-order depth-first traversal causes us to simplify early // blocks before querying later blocks (which require us to analyze early @@ -504,7 +504,7 @@ static bool runImpl(Function &F, LazyValueInfo *LVI, const SimplifyQuery &Q) { BBChanged |= processSelect(cast<SelectInst>(II), LVI); break; case Instruction::PHI: - BBChanged |= processPHI(cast<PHINode>(II), LVI, Q); + BBChanged |= processPHI(cast<PHINode>(II), LVI, SQ); break; case Instruction::ICmp: case Instruction::FCmp: |