aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-03-24 16:15:14 +0000
committerJim Grosbach <grosbach@apple.com>2010-03-24 16:15:14 +0000
commit35075a7e81338c0eea00d1bac6e0d4ffb9c82c82 (patch)
treeff6ec16673dc8ba629966b9c24e2b67b458f9707
parent15417383b96f9035a00bab5c13746f59e91e35e0 (diff)
tweak the arm if conversion heuristic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99402 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index f05041b41e..b6c81f6910 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/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()) {