diff options
author | Diana Picus <diana.picus@linaro.org> | 2017-09-05 07:57:41 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2017-09-05 07:57:41 +0000 |
commit | abb088691b6830ebe73a24b1611569bcc2c5cf90 (patch) | |
tree | d3b5ee43d2b8540673d4d9970573ca33c0072fa5 /llvm/lib/Object/Decompressor.cpp | |
parent | c228d790afddfc71847108969080d9341599c406 (diff) | |
download | llvm-abb088691b6830ebe73a24b1611569bcc2c5cf90.zip llvm-abb088691b6830ebe73a24b1611569bcc2c5cf90.tar.gz llvm-abb088691b6830ebe73a24b1611569bcc2c5cf90.tar.bz2 |
[ARM] GlobalISel: Support global variables for RWPI
In RWPI code, globals that are not read-only are accessed relative to
the SB register (R9). This is achieved by explicitly generating an ADD
instruction between SB and an offset that we either load from a constant
pool or movw + movt into a register.
llvm-svn: 312521
Diffstat (limited to 'llvm/lib/Object/Decompressor.cpp')
0 files changed, 0 insertions, 0 deletions