mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-22 03:58:15 +00:00
CorrelatedValuePropagation: Rename a variable for consistency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301435 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58c7fe69d0
commit
86c47581d6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user