diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-14 19:00:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-14 19:00:06 +0000 |
| commit | 994718417a1885ab14083aa39baffdc4a0e3ddd0 (patch) | |
| tree | 22d2abd1e002c3dc9d921f84498340889287a5be /llvm/lib/CodeGen/PostRASchedulerList.cpp | |
| parent | 4272c12571a23f0e59e9d9d896b93eb8321a68ac (diff) | |
| download | bcm5719-llvm-994718417a1885ab14083aa39baffdc4a0e3ddd0.tar.gz bcm5719-llvm-994718417a1885ab14083aa39baffdc4a0e3ddd0.zip | |
don't create the post-ra scheduler unless it is enabled.
llvm-svn: 45972
Diffstat (limited to 'llvm/lib/CodeGen/PostRASchedulerList.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/PostRASchedulerList.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp index c161134ed45..8c9776e07a9 100644 --- a/llvm/lib/CodeGen/PostRASchedulerList.cpp +++ b/llvm/lib/CodeGen/PostRASchedulerList.cpp @@ -21,23 +21,11 @@ #define DEBUG_TYPE "post-RA-sched" #include "llvm/CodeGen/Passes.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" -//#include "llvm/ADT/Statistic.h" -//#include <climits> -//#include <queue> -#include "llvm/Support/CommandLine.h" using namespace llvm; namespace { - bool NoPostRAScheduling; - - // When this works it will be on by default. - cl::opt<bool, true> - DisablePostRAScheduler("disable-post-RA-scheduler", - cl::desc("Disable scheduling after register allocation"), - cl::location(NoPostRAScheduling), - cl::init(true)); - class VISIBILITY_HIDDEN SchedulePostRATDList : public MachineFunctionPass { public: static char ID; @@ -56,9 +44,6 @@ namespace { } bool SchedulePostRATDList::runOnMachineFunction(MachineFunction &Fn) { - if (NoPostRAScheduling) - return true; - DOUT << "SchedulePostRATDList\n"; MF = &Fn; TM = &MF->getTarget(); |

