Move getAnalysisUsage method from header to .cpp file. Add a normal file
header comment
llvm-svn: 8679
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 0c64846..92cf376 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -43,6 +43,12 @@
return new PhyRegAlloc (T);
}
+void PhyRegAlloc::getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.addRequired<LoopInfo> ();
+ AU.addRequired<FunctionLiveVarInfo> ();
+}
+
+
//----------------------------------------------------------------------------
// This method initially creates interference graphs (one in each reg class)