diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-26 02:45:45 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-26 02:45:45 +0000 |
commit | 8981572662300b97d166dacbfee188e463ff503c (patch) | |
tree | 18d8dc90391014a4a2ddf81dbeb677959a846951 /lib | |
parent | 8f05c1004a642ba79c609b40cb3b6524d810b5f3 (diff) | |
download | external_llvm-8981572662300b97d166dacbfee188e463ff503c.zip external_llvm-8981572662300b97d166dacbfee188e463ff503c.tar.gz external_llvm-8981572662300b97d166dacbfee188e463ff503c.tar.bz2 |
Remove a couple of unused command line options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMTargetMachine.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index f6d2fec..2e137e5 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -22,8 +22,6 @@ #include "llvm/Target/TargetRegistry.h" using namespace llvm; -static cl::opt<bool> DisableLdStOpti("disable-arm-loadstore-opti", cl::Hidden, - cl::desc("Disable load store optimization pass")); static cl::opt<bool> DisableIfConversion("disable-arm-if-conversion",cl::Hidden, cl::desc("Disable if-conversion pass")); @@ -101,7 +99,7 @@ bool ARMBaseTargetMachine::addPreRegAlloc(PassManagerBase &PM, PM.add(createNEONPreAllocPass()); // FIXME: temporarily disabling load / store optimization pass for Thumb mode. - if (OptLevel != CodeGenOpt::None && !DisableLdStOpti && !Subtarget.isThumb()) + if (OptLevel != CodeGenOpt::None && !Subtarget.isThumb()) PM.add(createARMLoadStoreOptimizationPass(true)); return true; } @@ -109,12 +107,10 @@ bool ARMBaseTargetMachine::addPreRegAlloc(PassManagerBase &PM, bool ARMBaseTargetMachine::addPreEmitPass(PassManagerBase &PM, CodeGenOpt::Level OptLevel) { // FIXME: temporarily disabling load / store optimization pass for Thumb1 mode. - if (OptLevel != CodeGenOpt::None && !DisableLdStOpti && - !Subtarget.isThumb1Only()) + if (OptLevel != CodeGenOpt::None && !Subtarget.isThumb1Only()) PM.add(createARMLoadStoreOptimizationPass()); - if (OptLevel != CodeGenOpt::None && - !DisableIfConversion && !Subtarget.isThumb1Only()) + if (OptLevel != CodeGenOpt::None && !Subtarget.isThumb1Only()) PM.add(createIfConverterPass()); if (Subtarget.isThumb2()) { |