X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FAnalysis%2FLoopInfo.cpp;h=275331b03a58f952f0298d7dde3fc7ec54fb4559;hb=b169426272b85ce28a9a56d13154e61b158fc47a;hp=e136f2930f6f92cca21260ceb78c54d43365cdfd;hpb=4ee451de366474b9c228b4e5fa573795a715216d;p=oota-llvm.git diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index e136f2930f6..275331b03a5 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -29,15 +29,12 @@ using namespace llvm; char LoopInfo::ID = 0; static RegisterPass -X("loops", "Natural Loop Construction", true); +X("loops", "Natural Loop Construction", true, true); //===----------------------------------------------------------------------===// // Loop implementation // -/// getNumBackEdges - Calculate the number of back edges to the loop header. -/// - //===----------------------------------------------------------------------===// // LoopInfo implementation // @@ -51,6 +48,3 @@ void LoopInfo::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); AU.addRequired(); } - -// Ensure this file gets linked when LoopInfo.h is used. -DEFINING_FILE_FOR(LoopInfo)