diff options
author | Tim Northover <Tim.Northover@arm.com> | 2013-05-04 16:53:46 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2013-05-04 16:53:46 +0000 |
commit | 45db92038bf540fbbd8dfe5dff520aa8566d7cef (patch) | |
tree | ca210cce14ab88407e790cc51f1718b98218cbfa /test/TableGen/ForeachLoop.td | |
parent | 0c66f30325848014eda3203da5fae4c2e71a2884 (diff) | |
download | external_llvm-45db92038bf540fbbd8dfe5dff520aa8566d7cef.zip external_llvm-45db92038bf540fbbd8dfe5dff520aa8566d7cef.tar.gz external_llvm-45db92038bf540fbbd8dfe5dff520aa8566d7cef.tar.bz2 |
AArch64: implement large code model access to global variables.
The MOVZ/MOVK instruction sequence may not be the most efficient (a
literal-pool load could be better) but adding that would require
reinstating the ConstantIslands pass.
For now the sequence is correct, and that's enough. Beware, as of
commit GNU ld does not appear to support the relocations needed for
this. Its primary purpose (for now) will be to support JITed code,
since in that case there is no guarantee of where your code will end
up in memory relative to external symbols it references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/ForeachLoop.td')
0 files changed, 0 insertions, 0 deletions