From ef36801a148ed815d543ccf0e4ee9f75196b7d87 Mon Sep 17 00:00:00 2001 From: Serguei Katkov Date: Wed, 29 Nov 2017 09:48:50 +0000 Subject: [PATCH] [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 --- lib/CodeGen/CodeGenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")); -- 2.50.1