diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-01-04 08:11:03 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-01-04 08:11:03 +0000 |
commit | 66470d02c3baee7d6e0dd849cd550fc8372f21db (patch) | |
tree | daacd95a96af0473708593715d9e299b1269869e /llvm/lib/CodeGen/MachineLICM.cpp | |
parent | d86569701631e2892af018c96bd06f68fe756341 (diff) | |
download | bcm5719-llvm-66470d02c3baee7d6e0dd849cd550fc8372f21db.tar.gz bcm5719-llvm-66470d02c3baee7d6e0dd849cd550fc8372f21db.zip |
Move option to enable machine LICM into LLVMTargetMachine.cpp.
llvm-svn: 45572
Diffstat (limited to 'llvm/lib/CodeGen/MachineLICM.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineLICM.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp index f33acf4a87f..e6b9c76e9cd 100644 --- a/llvm/lib/CodeGen/MachineLICM.cpp +++ b/llvm/lib/CodeGen/MachineLICM.cpp @@ -28,14 +28,6 @@ using namespace llvm; -namespace { - // Hidden options to help debugging - cl::opt<bool> - PerformLICM("machine-licm", - cl::init(false), cl::Hidden, - cl::desc("Perform loop-invariant code motion on machine code")); -} - STATISTIC(NumHoisted, "Number of machine instructions hoisted out of loops"); namespace { @@ -167,8 +159,6 @@ FunctionPass *llvm::createMachineLICMPass() { return new MachineLICM(); } /// loop. /// bool MachineLICM::runOnMachineFunction(MachineFunction &MF) { - if (!PerformLICM) return false; // For debugging. - DOUT << "******** Machine LICM ********\n"; Changed = false; |