mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[NewGVN] Prefer auto over explicit type. NFCI.
llvm-svn: 291328
This commit is contained in:
parent
f98e4f70d1
commit
8dca24007b
@ -849,7 +849,7 @@ const Expression *NewGVN::performSymbolicPHIEvaluation(Instruction *I,
|
||||
// common value unless it dominates the phi block.
|
||||
if (HasUndef) {
|
||||
// Only have to check for instructions
|
||||
if (Instruction *AllSameInst = dyn_cast<Instruction>(AllSameValue))
|
||||
if (auto *AllSameInst = dyn_cast<Instruction>(AllSameValue))
|
||||
if (!DT->dominates(AllSameInst, I))
|
||||
return E;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user