From fc1ff29966786694ed4418372914842b4e6f817b Mon Sep 17 00:00:00 2001 From: Serguei Katkov Date: Tue, 21 Nov 2017 05:31:47 +0000 Subject: [PATCH] [CGP] Enable complex addr mode (2nd attempt) 2nd attempt to enable complex addr modes after fix of the crash by rL318638. llvm-svn: 318728 --- 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 e60e1e2..224b0c5 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