[llvm-commits] [llvm] r42156 - /llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp
Evan Cheng
evan.cheng at apple.com
Wed Sep 19 17:48:22 PDT 2007
Author: evancheng
Date: Wed Sep 19 19:48:22 2007
New Revision: 42156
URL: http://llvm.org/viewvc/llvm-project?rev=42156&view=rev
Log:
Enable if-conversion for ARM by default.
Modified:
llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp?rev=42156&r1=42155&r2=42156&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp Wed Sep 19 19:48:22 2007
@@ -25,8 +25,8 @@
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 @@
if (!Fast && !DisableLdStOpti && !Subtarget.isThumb())
PM.add(createARMLoadStoreOptimizationPass());
- if (!Fast && EnableIfConversion && !Subtarget.isThumb())
+ if (!Fast && !DisableIfConversion && !Subtarget.isThumb())
PM.add(createIfConverterPass());
PM.add(createARMConstantIslandPass());
More information about the llvm-commits
mailing list