diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-03-24 16:15:14 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-03-24 16:15:14 +0000 |
commit | 07607382d887a39d509143f2698c69581ead12bb (patch) | |
tree | c769bf4aaf59a34042a0fe6275c79b6eef3a6f94 /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | 4bbfdd41ead98dd9682f61959245fda57fbe0c2d (diff) | |
download | bcm5719-llvm-07607382d887a39d509143f2698c69581ead12bb.tar.gz bcm5719-llvm-07607382d887a39d509143f2698c69581ead12bb.zip |
tweak the arm if conversion heuristic
llvm-svn: 99402
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index f05041b41e6..b6c81f6910a 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -40,18 +40,12 @@ #include "llvm/MC/MCSectionMachO.h" #include "llvm/Target/TargetOptions.h" #include "llvm/ADT/VectorExtras.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/raw_ostream.h" #include <sstream> using namespace llvm; -static cl::opt<bool> -aggressiveV7IfConvert("arm-aggressive-v7-ifcvt", cl::Hidden, - cl::desc("Enable more liberal if-converstion for v7"), - cl::init(false)); - static bool CC_ARM_APCS_Custom_f64(unsigned &ValNo, EVT &ValVT, EVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, @@ -462,7 +456,7 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) // Generic (and overly aggressive) if-conversion limits. setIfCvtBlockSizeLimit(10); setIfCvtDupBlockSizeLimit(2); - } else if (aggressiveV7IfConvert && Subtarget->hasV7Ops()) { + } else if (Subtarget->hasV7Ops()) { setIfCvtBlockSizeLimit(3); setIfCvtDupBlockSizeLimit(1); } else if (Subtarget->hasV6Ops()) { |