diff options
Diffstat (limited to 'llvm/lib/Target/Sparc/Sparc.cpp')
| -rw-r--r-- | llvm/lib/Target/Sparc/Sparc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index b4e069453cc..91e51d88d28 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -260,7 +260,7 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) { //PM.add(new InstructionScheduling(*this)); - PM.add(new RegisterAllocation(*this)); + PM.add(getRegisterAllocator(*this)); //PM.add(new OptimizeLeafProcedures()); //PM.add(new DeleteFallThroughBranches()); |

