[llvm] r318728 - [CGP] Enable complex addr mode (2nd attempt)

Serguei Katkov via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 21:31:47 PST 2017


Author: skatkov
Date: Mon Nov 20 21:31:47 2017
New Revision: 318728

URL: http://llvm.org/viewvc/llvm-project?rev=318728&view=rev
Log:
[CGP] Enable complex addr mode (2nd attempt)

2nd attempt to enable complex addr modes after
fix of the crash by rL318638.

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=318728&r1=318727&r2=318728&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp Mon Nov 20 21:31:47 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