Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Loop unroller: set thresholds for optsize and minsize functions to zero | Hans Wennborg | 2016-05-10 | 1 | -43/+13 |
| | | | | | | | | | | | | | | | Before r268509, Clang would disable the loop unroll pass when optimizing for size. That commit enabled it to be able to support unroll pragmas in -Os builds. However, this regressed binary size in one of Chromium's DLLs with ~100 KB. This restores the original behaviour of no unrolling at -Os, but doing it in LLVM instead of Clang makes more sense, and also allows the pragmas to keep working. Differential revision: http://reviews.llvm.org/D20115 llvm-svn: 269124 | ||||
* | Adding test cases showing the behavior of LoopUnrollPass according to ↵ | Marianne Mailhot-Sarrasin | 2016-05-04 | 1 | -0/+160 |
optnone and optsize attributes The unroll pass was disabled by clang in /Os. Those new test cases shows that the pass will behave correctly even if it is not fully disabled. This patch is related in some way to the clang commit (http://reviews.llvm.org/D19827), which re-enables the pass in /Os. Differential Revision: http://reviews.llvm.org/D19870 llvm-svn: 268524 |