mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Enable if-conversion for ARM by default.
llvm-svn: 42156
This commit is contained in:
parent
04682bdc81
commit
267f595834
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user