forked from OSchip/llvm-project
[NewGVN] Prefer `auto` to explicit type when the latter is obvious.
llvm-svn: 290499
This commit is contained in:
parent
4f84764e32
commit
463c32eaf6
|
@ -1045,7 +1045,7 @@ void NewGVN::performCongruenceFinding(Value *V, const Expression *E) {
|
|||
}
|
||||
}
|
||||
markUsersTouched(V);
|
||||
if (Instruction *I = dyn_cast<Instruction>(V))
|
||||
if (auto *I = dyn_cast<Instruction>(V))
|
||||
if (MemoryAccess *MA = MSSA->getMemoryAccess(I))
|
||||
markMemoryUsersTouched(MA);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue