Avoid inserting an entry block unless we need it
[oota-llvm.git] / lib / Transforms / Scalar / IndVarSimplify.cpp
index ceb057d34592bf0094844a71597cd40ede3f897a..4e3e65beaf3363790f564c5b9450c4c84d7fdb64 100644 (file)
@@ -193,7 +193,7 @@ namespace {
     }
     
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
-      AU.addRequired(LoopInfo::ID);
+      AU.addRequired<LoopInfo>();
       AU.preservesCFG();
     }
   };