forked from OSchip/llvm-project
Found a bug turning this on by default. Disable again for now.
llvm-svn: 116220
This commit is contained in:
parent
6002b3b3e1
commit
e2a0b6841a
|
@ -46,8 +46,8 @@
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
DisableARMFastISel("disable-arm-fast-isel",
|
EnableARMFastISel("arm-fast-isel",
|
||||||
cl::desc("Turn off experimental ARM fast-isel support"),
|
cl::desc("Turn on experimental ARM fast-isel support"),
|
||||||
cl::init(false), cl::Hidden);
|
cl::init(false), cl::Hidden);
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -1558,7 +1558,7 @@ namespace llvm {
|
||||||
// Completely untested on non-darwin.
|
// Completely untested on non-darwin.
|
||||||
const TargetMachine &TM = funcInfo.MF->getTarget();
|
const TargetMachine &TM = funcInfo.MF->getTarget();
|
||||||
const ARMSubtarget *Subtarget = &TM.getSubtarget<ARMSubtarget>();
|
const ARMSubtarget *Subtarget = &TM.getSubtarget<ARMSubtarget>();
|
||||||
if (Subtarget->isTargetDarwin() && !DisableARMFastISel)
|
if (Subtarget->isTargetDarwin() && EnableARMFastISel)
|
||||||
return new ARMFastISel(funcInfo);
|
return new ARMFastISel(funcInfo);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc < %s -O0 -fast-isel-abort -mtriple=armv7-apple-darwin
|
; RUN: llc < %s -O0 -arm-fast-isel -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=thumbv7-apple-darwin
|
||||||
|
|
||||||
; Very basic fast-isel functionality.
|
; Very basic fast-isel functionality.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue