summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2018-01-02 16:30:47 +0000
committerAmara Emerson <aemerson@apple.com>2018-01-02 16:30:47 +0000
commit854d10d10bf5ae315fac43d37f84626d7a9c5edf (patch)
treefedf15410244258fca600aeab7ef71db382c113d /llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
parent0d0f1ff719c3b92a8bbda4327e8dd6e9cf936a09 (diff)
downloadbcm5719-llvm-854d10d10bf5ae315fac43d37f84626d7a9c5edf.tar.gz
bcm5719-llvm-854d10d10bf5ae315fac43d37f84626d7a9c5edf.zip
[AArch64][GlobalISel] Enable GlobalISel at -O0 by default
Tests updated to explicitly use fast-isel at -O0 instead of implicitly. This change also allows an explicit -fast-isel option to override an implicitly enabled global-isel. Otherwise -fast-isel would have no effect at -O0. Differential Revision: https://reviews.llvm.org/D41362 llvm-svn: 321655
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
index 0e6ad944c14..5d00dc58a5a 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
@@ -136,7 +136,7 @@ static cl::opt<bool>
static cl::opt<int> EnableGlobalISelAtO(
"aarch64-enable-global-isel-at-O", cl::Hidden,
cl::desc("Enable GlobalISel at or below an opt level (-1 to disable)"),
- cl::init(-1));
+ cl::init(0));
static cl::opt<bool> EnableFalkorHWPFFix("aarch64-enable-falkor-hwpf-fix",
cl::init(true), cl::Hidden);
OpenPOWER on IntegriCloud