diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-04 20:03:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-04 20:03:43 +0000 |
commit | 1cb37628d91bf4c2dd8f0eb5ca2a5bf2eeda3f2f (patch) | |
tree | 79498f97179937c275bfde05a3cbaf121825ac44 /llvm/lib/Target/Sparc/Sparc.cpp | |
parent | aa7a1518741416626b11af9bfb61d932152e2b09 (diff) | |
download | bcm5719-llvm-1cb37628d91bf4c2dd8f0eb5ca2a5bf2eeda3f2f.tar.gz bcm5719-llvm-1cb37628d91bf4c2dd8f0eb5ca2a5bf2eeda3f2f.zip |
The interface to instruction scheduling is now just a call to get the pass.
llvm-svn: 1702
Diffstat (limited to 'llvm/lib/Target/Sparc/Sparc.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/Sparc.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index 91e51d88d28..422dda02bf4 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -223,17 +223,6 @@ public: } }; -class InstructionScheduling : public MethodPass { - TargetMachine &Target; -public: - inline InstructionScheduling(TargetMachine &T) : Target(T) {} - bool runOnMethod(Method *M) { - if (ScheduleInstructionsWithSSA(M, Target)) - cerr << "Instr scheduling failed for method " << M->getName() << "\n\n"; - return false; - } -}; - struct FreeMachineCodeForMethod : public MethodPass { static void freeMachineCode(Instruction *I) { MachineCodeForInstruction::destroy(I); @@ -258,7 +247,7 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) { PM.add(new InstructionSelection(*this)); - //PM.add(new InstructionScheduling(*this)); + //PM.add(createInstructionSchedulingWithSSAPass(*this)); PM.add(getRegisterAllocator(*this)); |