diff options
author | Tim Northover <tnorthover@apple.com> | 2013-12-02 10:35:41 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-12-02 10:35:41 +0000 |
commit | 72360d201c0b61c64244f3eea51a87699f6c5069 (patch) | |
tree | ff08ec0fe5b19ffb89a9bf4ea94a090447bf1d20 /llvm/lib/Target/XCore/XCoreFrameLowering.h | |
parent | 2725bd21ff97dd4e5b5b1c09fbd22d61c199156a (diff) | |
download | bcm5719-llvm-72360d201c0b61c64244f3eea51a87699f6c5069.tar.gz bcm5719-llvm-72360d201c0b61c64244f3eea51a87699f6c5069.zip |
ARM: add pseudo-instructions for lit-pool global materialisation
These are used by MachO only at the moment, and (much like the existing
MOVW/MOVT set) work around the fact that the labels used in the actual
instructions often contain PC-dependent components, which means that repeatedly
materialising the same global can't be CSEed.
With small modifications, it could be adapted to how ELF finds the address of
_GLOBAL_OFFSET_TABLE_, which would give similar benefits in PIC mode there.
llvm-svn: 196090
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreFrameLowering.h')
0 files changed, 0 insertions, 0 deletions