diff options
author | Serguei Katkov <serguei.katkov@azul.com> | 2017-12-13 06:57:59 +0000 |
---|---|---|
committer | Serguei Katkov <serguei.katkov@azul.com> | 2017-12-13 06:57:59 +0000 |
commit | b8cb5da28df4ee95e83605c2a4490878e39ab220 (patch) | |
tree | 87e3e740ef4ae32c03dedb8fbca979b67597223a /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | eec462f0e888d662c4f9d60018e1460285708c5d (diff) | |
download | bcm5719-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.cpp | 2 |
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( |