1
0
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:
Davide Italiano 2017-01-07 02:05:50 +00:00
parent f98e4f70d1
commit 8dca24007b

View File

@ -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;
}