diff options
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp')
| -rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 0c64846..92cf376 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -43,6 +43,12 @@ FunctionPass *getRegisterAllocator(TargetMachine &T) { 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) |
