summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-03-03 10:02:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-03-03 10:02:25 +0000
commitce52b80744cd23677286115c60cc13f34113f558 (patch)
treea6ee8373bcc09e5804e3d8327031916c553afbf0 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parente96e6972945774f96866220fe7569918346b34e5 (diff)
downloadbcm5719-llvm-ce52b80744cd23677286115c60cc13f34113f558.tar.gz
bcm5719-llvm-ce52b80744cd23677286115c60cc13f34113f558.zip
[SDAG] Revert r296476 (and r296486, r296668, r296690).
This patch causes compile times for some patterns to explode. I have a (large, unreduced) test case that slows down by more than 20x and several test cases slow down by 2x. I'm sending some of the test cases directly to Nirav and following up with more details in the review log, but this should unblock anyone else hitting this. llvm-svn: 296862
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 518417dd11e..5f021a17612 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -850,7 +850,7 @@ TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) : TM(tm) {
MinFunctionAlignment = 0;
PrefFunctionAlignment = 0;
PrefLoopAlignment = 0;
- GatherAllAliasesMaxDepth = 18;
+ GatherAllAliasesMaxDepth = 6;
MinStackArgumentAlignment = 1;
// TODO: the default will be switched to 0 in the next commit, along
// with the Target-specific changes necessary.
OpenPOWER on IntegriCloud