summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-10-11 20:26:21 +0000
committerEric Christopher <echristo@apple.com>2010-10-11 20:26:21 +0000
commite2a0b6841a7144cc4295920695bdeb5691771057 (patch)
tree5a1696d45842689c9c0008fc4e03bc5acfe98a21
parent6002b3b3e14cd1a6971f30a32c83b34441b85271 (diff)
downloadbcm5719-llvm-e2a0b6841a7144cc4295920695bdeb5691771057.tar.gz
bcm5719-llvm-e2a0b6841a7144cc4295920695bdeb5691771057.zip
Found a bug turning this on by default. Disable again for now.
llvm-svn: 116220
-rw-r--r--llvm/lib/Target/ARM/ARMFastISel.cpp6
-rw-r--r--llvm/test/CodeGen/ARM/fast-isel.ll4
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index 044da00d1f0..fa85c9366bc 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/lib/Target/ARM/ARMFastISel.cpp
@@ -46,8 +46,8 @@
using namespace llvm;
static cl::opt<bool>
-DisableARMFastISel("disable-arm-fast-isel",
- cl::desc("Turn off experimental ARM fast-isel support"),
+EnableARMFastISel("arm-fast-isel",
+ cl::desc("Turn on experimental ARM fast-isel support"),
cl::init(false), cl::Hidden);
namespace {
@@ -1558,7 +1558,7 @@ namespace llvm {
// Completely untested on non-darwin.
const TargetMachine &TM = funcInfo.MF->getTarget();
const ARMSubtarget *Subtarget = &TM.getSubtarget<ARMSubtarget>();
- if (Subtarget->isTargetDarwin() && !DisableARMFastISel)
+ if (Subtarget->isTargetDarwin() && EnableARMFastISel)
return new ARMFastISel(funcInfo);
return 0;
}
diff --git a/llvm/test/CodeGen/ARM/fast-isel.ll b/llvm/test/CodeGen/ARM/fast-isel.ll
index 023760b5d40..b3ced9c2d87 100644
--- a/llvm/test/CodeGen/ARM/fast-isel.ll
+++ b/llvm/test/CodeGen/ARM/fast-isel.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -O0 -fast-isel-abort -mtriple=armv7-apple-darwin
-; RUN: llc < %s -O0 -fast-isel-abort -mtriple=thumbv7-apple-darwin
+; RUN: llc < %s -O0 -arm-fast-isel -fast-isel-abort -mtriple=armv7-apple-darwin
+; RUN: llc < %s -O0 -arm-fast-isel -fast-isel-abort -mtriple=thumbv7-apple-darwin
; Very basic fast-isel functionality.
OpenPOWER on IntegriCloud