[llvm] r342873 - Revert r341932 "[ARM] Enable ARMCodeGenPrepare by default"

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 24 04:40:07 PDT 2018


Author: hans
Date: Mon Sep 24 04:40:07 2018
New Revision: 342873

URL: http://llvm.org/viewvc/llvm-project?rev=342873&view=rev
Log:
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

Modified:
    llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp?rev=342873&r1=342872&r2=342873&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp Mon Sep 24 04:40:07 2018
@@ -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>




More information about the llvm-commits mailing list