diff options
author | Amara Emerson <aemerson@apple.com> | 2020-03-03 11:36:47 -0800 |
---|---|---|
committer | Amara Emerson <aemerson@apple.com> | 2020-03-03 18:14:57 -0800 |
commit | e91e1df6ab74006e96b0cca94192e935542705a4 (patch) | |
tree | 9f543245a2cf2d28590c8dcfeb0dc0222f51bd76 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 7af4374ff81120f6efa3c851b9c3063d76291195 (diff) | |
download | llvm-e91e1df6ab74006e96b0cca94192e935542705a4.zip llvm-e91e1df6ab74006e96b0cca94192e935542705a4.tar.gz llvm-e91e1df6ab74006e96b0cca94192e935542705a4.tar.bz2 |
[GlobalISel][Localizer] Enable intra-block localization of already-local uses.
This changes the localizer to attempt intra-block localizer of instructions
that have local uses. This is useful because sometimes the entry block itself
has many uses of constant-like instructions, which would benefit from shortening
live ranges. Previously if an inst had no non-local uses, we wouldn't add it to
the list of instructions to attempt further intra-block localization.
This gives a 0.7% geomean code size improvement on CTMark.
Differential Revision: https://reviews.llvm.org/D75555
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions