diff options
| author | Martin Storsjo <martin@martin.st> | 2017-07-26 20:51:47 +0000 |
|---|---|---|
| committer | Martin Storsjo <martin@martin.st> | 2017-07-26 20:51:47 +0000 |
| commit | 38608c0975772513007ec08116a1a3fb6160722b (patch) | |
| tree | db6e7ec6aad3591215ce11a053da32369174c012 /llvm/test/Transforms | |
| parent | 853ce87a4d11a4dd60953c7851d3b3a667cf6a82 (diff) | |
| download | bcm5719-llvm-38608c0975772513007ec08116a1a3fb6160722b.tar.gz bcm5719-llvm-38608c0975772513007ec08116a1a3fb6160722b.zip | |
[COFF, ARM64] Handle ADRP immediate offsets in relocations
Also handle overflow correctly in LDR/STR relocations. Even if the
offset range of a 8 byte LDR instruction is 15 bit (even if the immediate
itself is 12 bit) due to a 3 bit shift, only include up to 12 bits of offset
after doing the relocation, by limiting the range of the immediate by the
number of shifted bits.
Differential Revision: https://reviews.llvm.org/D35792
llvm-svn: 309175
Diffstat (limited to 'llvm/test/Transforms')
0 files changed, 0 insertions, 0 deletions

