Fixed the comment. No functionality change.
[oota-llvm.git] / lib / Analysis / LoopInfo.cpp
index d0e7a77eedfe7cccce53dd32c3d484d0c1111aa7..275331b03a58f952f0298d7dde3fc7ec54fb4559 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -29,15 +29,12 @@ using namespace llvm;
 
 char LoopInfo::ID = 0;
 static RegisterPass<LoopInfo>
-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<DominatorTree>();
 }
-
-// Ensure this file gets linked when LoopInfo.h is used.
-DEFINING_FILE_FOR(LoopInfo)