aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-08-23 23:13:15 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-08-23 23:13:15 +0000
commitbd63d436c148152aedf13818475e66892449662b (patch)
tree9974b420d33efd12676b6700667e44abf1f0c6a7 /llvm/lib/CodeGen/StackMaps.cpp
parent12a0b1f4c847a3dd8efc53b2fe1746fea7f2edc5 (diff)
downloadllvm-bd63d436c148152aedf13818475e66892449662b.zip
llvm-bd63d436c148152aedf13818475e66892449662b.tar.gz
llvm-bd63d436c148152aedf13818475e66892449662b.tar.bz2
[LoopUnroll] By default disable unrolling when optimizing for size.
Summary: In clang commit r268509 we started to invoke loop-unroll pass from the driver even under -Os. However, we happen to not initialize optsize thresholds properly, which si fixed with this change. r268509 led to some big compile time regressions, because we started to unroll some loops that we didn't unroll before. With this change I hope to recover most of the regressions. We still are slightly slower than before, because we do some checks here and there in loop-unrolling before we bail out, but at least the slowdown is not that huge now. Reviewers: hfinkel, chandlerc Subscribers: mzolotukhin, llvm-commits Differential Revision: https://reviews.llvm.org/D23388 llvm-svn: 279585
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions