summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2017-12-13 07:39:35 +0000
committerSerguei Katkov <serguei.katkov@azul.com>2017-12-13 07:39:35 +0000
commitac4a8fb1cde1fbc0188ed0c58b9f016b1f3cda0d (patch)
tree9d7b9eb4d24ffb215670aa3fa160d447cd58e709 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parentac59db2efe7c5eeb42f4227814c4ccab55208535 (diff)
downloadbcm5719-llvm-ac4a8fb1cde1fbc0188ed0c58b9f016b1f3cda0d.tar.gz
bcm5719-llvm-ac4a8fb1cde1fbc0188ed0c58b9f016b1f3cda0d.zip
Revert "[CGP] Enable select in complex addr mode"
Causes: Assertion `ScaledReg == nullptr' failed. This actually a revert of rL320551. llvm-svn: 320553
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 18b3b4f28ed..1b01f843036 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(true),
+AddrSinkNewSelects("addr-sink-new-select", cl::Hidden, cl::init(false),
cl::desc("Allow creation of selects in Address sinking."));
static cl::opt<bool> AddrSinkCombineBaseReg(
OpenPOWER on IntegriCloud