diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-04-09 19:59:57 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-04-09 19:59:57 +0000 |
commit | 5cff2409aef90dd85331735e65b87f3118766c7c (patch) | |
tree | 19a5a09ed4848c0d98fd77b3efab37268b4be5c2 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 79f2c720b57833e2046eb3d8dd30899aee007f78 (diff) | |
download | bcm5719-llvm-5cff2409aef90dd85331735e65b87f3118766c7c.tar.gz bcm5719-llvm-5cff2409aef90dd85331735e65b87f3118766c7c.zip |
AArch64: Allow offsets to be folded into addresses with ELF.
This is a code size win in code that takes offseted addresses
frequently, such as C++ constructors that typically need to compute
an offseted address of a vtable. It reduces the size of Chromium for
Android's .text section by 46KB, or 56KB with ThinLTO (which exposes
more opportunities to use a direct access rather than a GOT access).
Because the addend range is limited in COFF and Mach-O, this is
enabled for ELF only.
Differential Revision: https://reviews.llvm.org/D45199
llvm-svn: 329611
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions