summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-09-24 11:40:07 +0000
committerHans Wennborg <hans@hanshq.net>2018-09-24 11:40:07 +0000
commit5555c009026eba9aef07544731ef6cd421cc7ccc (patch)
treeb590ef416d7e8225f4d8da013917dcc0c28f2460 /llvm/lib/Target/ARM
parentbda54bca391de6b83a2131bf6344d3a2ae8eca34 (diff)
downloadbcm5719-llvm-5555c009026eba9aef07544731ef6cd421cc7ccc.tar.gz
bcm5719-llvm-5555c009026eba9aef07544731ef6cd421cc7ccc.zip
Revert r341932 "[ARM] Enable ARMCodeGenPrepare by default"
This caused miscompilation of WebRTC for Android: PR39060. > We've had the pass enabled downstream for a couple of weeks and it > seems to be okay, so enable it by default. > > Differential Revision: https://reviews.llvm.org/D51920 llvm-svn: 342873
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp b/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
index a1241b7a1e2..4b73636334c 100644
--- a/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
+++ b/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
@@ -42,7 +42,7 @@
using namespace llvm;
static cl::opt<bool>
-DisableCGP("arm-disable-cgp", cl::Hidden, cl::init(false),
+DisableCGP("arm-disable-cgp", cl::Hidden, cl::init(true),
cl::desc("Disable ARM specific CodeGenPrepare pass"));
static cl::opt<bool>
OpenPOWER on IntegriCloud