From d4df744434100b9322dc2ed049192502b0f1f5bd 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 llvm-svn: 319302 --- llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 97fe56e..9d3e723 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/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.7.4