Make Loop and MachineLoop be subclasses of LoopBase, rather than typedefs,
[oota-llvm.git] / lib / Transforms / Scalar / LoopStrengthReduce.cpp
index 454cc93d31bf2bf0c81e5a5eb21927eacfa58888..a1781c985849e95065c1362f85efe6103c40f244 100644 (file)
@@ -248,7 +248,7 @@ static bool containsAddRecFromDifferentLoop(const SCEV *S, Loop *L) {
       if (newLoop == L)
         return false;
       // if newLoop is an outer loop of L, this is OK.
-      if (!LoopInfoBase<BasicBlock>::isNotAlreadyContainedIn(L, newLoop))
+      if (!LoopInfo::isNotAlreadyContainedIn(L, newLoop))
         return false;
     }
     return true;