[llvm] r319302 - [CGP] Enable complex addr mode

Serguei Katkov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 01:48:50 PST 2017


Author: skatkov
Date: Wed Nov 29 01:48:50 2017
New Revision: 319302

URL: http://llvm.org/viewvc/llvm-project?rev=319302&view=rev
Log:
[CGP] Enable complex addr mode

Enable complex addr modes after two critical fixes: rL319109 and rL319292

Modified:
    llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp

Modified: llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp?rev=319302&r1=319301&r2=319302&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp Wed Nov 29 01:48:50 2017
@@ -190,7 +190,7 @@ EnableTypePromotionMerge("cgp-type-promo
     " the other."), cl::init(true));
 
 static cl::opt<bool> DisableComplexAddrModes(
-    "disable-complex-addr-modes", cl::Hidden, cl::init(true),
+    "disable-complex-addr-modes", cl::Hidden, cl::init(false),
     cl::desc("Disables combining addressing modes with different parts "
              "in optimizeMemoryInst."));
 




More information about the llvm-commits mailing list