diff options
author | Amara Emerson <amara@apple.com> | 2021-05-06 17:14:04 -0700 |
---|---|---|
committer | Amara Emerson <amara@apple.com> | 2021-05-07 17:01:27 -0700 |
commit | 5b158093e2469dec16a070019c6432d26bf7be9b (patch) | |
tree | 23a7ba8c9ed2f79f7420dba3de468f8d8d639206 /llvm/lib/CodeGen/MachinePassManager.cpp | |
parent | 808bc11d9e1aa01edaf7ec4e56be3aee5ed42a83 (diff) | |
download | llvm-5b158093e2469dec16a070019c6432d26bf7be9b.zip llvm-5b158093e2469dec16a070019c6432d26bf7be9b.tar.gz llvm-5b158093e2469dec16a070019c6432d26bf7be9b.tar.bz2 |
[AArch64][GlobalISel] Create a new minimal combiner pass just for -O0.
We never bothered to have a separate set of combines for -O0 in the prelegalizer
before. This results in some minor performance hits for a mode where performance
isn't a concern (although not regressing code size significantly is still preferable).
This also removes the CSE option since we don't need it for -O0.
Through experiments, I've arrived at a set of combines that gets the most code
size improvement at -O0, while reducing the amount of time spent in the combiner
by around 35% give or take.
Differential Revision: https://reviews.llvm.org/D102038
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassManager.cpp')
0 files changed, 0 insertions, 0 deletions