diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-09-20 00:48:22 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-20 00:48:22 +0000 |
commit | 17207ddf38b92245d6eda9e58cf9bf75f2a88e80 (patch) | |
tree | c0c52a2a50d9502b10c2c5e76d7e0ea5d215dbd9 /lib | |
parent | 73328d14acba0144f121b557ce0e1539c6a21a18 (diff) | |
download | external_llvm-17207ddf38b92245d6eda9e58cf9bf75f2a88e80.zip external_llvm-17207ddf38b92245d6eda9e58cf9bf75f2a88e80.tar.gz external_llvm-17207ddf38b92245d6eda9e58cf9bf75f2a88e80.tar.bz2 |
Enable if-conversion for ARM by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMTargetMachine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index d5f0ffa..4794cd4 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -25,8 +25,8 @@ 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> EnableIfConversion("enable-arm-if-conversion", cl::Hidden, - cl::desc("Enable if-conversion pass")); +static cl::opt<bool> DisableIfConversion("disable-arm-if-conversion",cl::Hidden, + cl::desc("Disable if-conversion pass")); namespace { // Register the target. @@ -127,7 +127,7 @@ bool ARMTargetMachine::addPreEmitPass(FunctionPassManager &PM, bool Fast) { if (!Fast && !DisableLdStOpti && !Subtarget.isThumb()) PM.add(createARMLoadStoreOptimizationPass()); - if (!Fast && EnableIfConversion && !Subtarget.isThumb()) + if (!Fast && !DisableIfConversion && !Subtarget.isThumb()) PM.add(createIfConverterPass()); PM.add(createARMConstantIslandPass()); |