summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-04-09 19:59:57 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-04-09 19:59:57 +0000
commit5cff2409aef90dd85331735e65b87f3118766c7c (patch)
tree19a5a09ed4848c0d98fd77b3efab37268b4be5c2 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent79f2c720b57833e2046eb3d8dd30899aee007f78 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud