From 5555c009026eba9aef07544731ef6cd421cc7ccc Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 24 Sep 2018 11:40:07 +0000 Subject: [PATCH] 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 --- llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp b/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp index a1241b7..4b73636 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 -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 -- 2.7.4