diff options
author | Dávid Bolvanský <david.bolvansky@gmail.com> | 2023-04-05 12:52:30 +0200 |
---|---|---|
committer | Dávid Bolvanský <david.bolvansky@gmail.com> | 2023-04-05 16:51:21 +0200 |
commit | 05a2f4290e27c67b0f547b893f1dc9aaf6d40ca2 (patch) | |
tree | d597e008ae60f657035f7f11e67e84712eec459f /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 04681243b417d78bdefecf14158ffced5a6d2273 (diff) | |
download | llvm-05a2f4290e27c67b0f547b893f1dc9aaf6d40ca2.zip llvm-05a2f4290e27c67b0f547b893f1dc9aaf6d40ca2.tar.gz llvm-05a2f4290e27c67b0f547b893f1dc9aaf6d40ca2.tar.bz2 |
[AggressiveInstCombine] Enable also for -O2
Next step after https://reviews.llvm.org/D113179
Recently a set of patches by @anton-afanasyev improved many cases (better and cleaner vectorized code) thanks to improvements to AIC's TruncInstCombine (IC cannot handle it) motivated by real examples in bug reports. There was a discussion that -O2 could benefit from AIC as well, but discussion then stalled, so I would like restart it, with new numbers from LLVM compile time tracker.
As -O2 pipeline is not tracked by LLVM compile time tracker, I disabled AIC for -O3 to get an idea how expensive is it. Without AIC, I observed that geomean was cca -0.10%. Given that it seems like AIC is quite cheap, heavily tested by -O3 pipeline, I am proposing to enable it also with -O2 and similar to improve quality to vectorized code.
https://llvm-compile-time-tracker.com/compare.php?from=a1df5abef5f27646c809c7b85cf6170eb68f7735&to=e1ba6068f58c6ca862b920b8750faccb42a5843c&stat=instructions:u
Differential Revision: https://reviews.llvm.org/D147604
Reviewed-By: nikic
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions