Analysis: Remove implicit ilist iterator conversions
[oota-llvm.git] / lib / Analysis / BasicAliasAnalysis.cpp
index ce6427e6f141e675274c3591e971d8486aea9b53..dc24a85c97a810def6c562d4b5e3db56a6c92446 100644 (file)
@@ -1418,7 +1418,7 @@ bool BasicAAResult::isValueEqualInPotentialCycles(const Value *V,
   // the Values cannot come from different iterations of a potential cycle the
   // phi nodes could be involved in.
   for (auto *P : VisitedPhiBBs)
-    if (isPotentiallyReachable(P->begin(), Inst, DT, LI))
+    if (isPotentiallyReachable(&P->front(), Inst, DT, LI))
       return false;
 
   return true;