From: Serguei Katkov Date: Wed, 29 Nov 2017 09:48:50 +0000 (+0000) Subject: [CGP] Enable complex addr mode X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef36801a148ed815d543ccf0e4ee9f75196b7d87;p=llvm [CGP] Enable complex addr mode Enable complex addr modes after two critical fixes: rL319109 and rL319292 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319302 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenPrepare.cpp b/lib/CodeGen/CodeGenPrepare.cpp index 97fe56ec587..9d3e7230ed0 100644 --- a/lib/CodeGen/CodeGenPrepare.cpp +++ b/lib/CodeGen/CodeGenPrepare.cpp @@ -190,7 +190,7 @@ EnableTypePromotionMerge("cgp-type-promotion-merge", cl::Hidden, " the other."), cl::init(true)); static cl::opt 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."));