summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 15:54:09 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 15:54:09 +0000
commitf48173a8751cb7d13db2a3fc7a128a246d45e39a (patch)
tree956700c96126fa8dc38fa2fd14c307cf9a4c167b /llvm/lib/Target
parent13b2227ccc45c4aa30c57acacdc35511d911e58d (diff)
downloadbcm5719-llvm-f48173a8751cb7d13db2a3fc7a128a246d45e39a.tar.gz
bcm5719-llvm-f48173a8751cb7d13db2a3fc7a128a246d45e39a.zip
Convert RegisterAllocator interface to opaque pass type, so that users do not
need to know _anything_ about RegAlloc to use it. Well in the end maybe. llvm-svn: 1681
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Sparc/Sparc.cpp2
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());
OpenPOWER on IntegriCloud