summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2017-12-13 06:57:59 +0000
committerSerguei Katkov <serguei.katkov@azul.com>2017-12-13 06:57:59 +0000
commitb8cb5da28df4ee95e83605c2a4490878e39ab220 (patch)
tree87e3e740ef4ae32c03dedb8fbca979b67597223a /llvm/lib/CodeGen/CodeGenPrepare.cpp
parenteec462f0e888d662c4f9d60018e1460285708c5d (diff)
downloadbcm5719-llvm-b8cb5da28df4ee95e83605c2a4490878e39ab220.tar.gz
bcm5719-llvm-b8cb5da28df4ee95e83605c2a4490878e39ab220.zip
[CGP] Enable select in complex addr mode
Enable select instruction handling in complex addr modes. Reviewers: john.brawn, reames, aaboud Reviewed By: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D40634 llvm-svn: 320551
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 1b01f843036..18b3b4f28ed 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -196,7 +196,7 @@ AddrSinkNewPhis("addr-sink-new-phis", cl::Hidden, cl::init(false),
cl::desc("Allow creation of Phis in Address sinking."));
static cl::opt<bool>
-AddrSinkNewSelects("addr-sink-new-select", cl::Hidden, cl::init(false),
+AddrSinkNewSelects("addr-sink-new-select", cl::Hidden, cl::init(true),
cl::desc("Allow creation of selects in Address sinking."));
static cl::opt<bool> AddrSinkCombineBaseReg(
OpenPOWER on IntegriCloud