diff options
author | Tim Northover <t.p.northover@gmail.com> | 2020-09-08 11:08:25 +0100 |
---|---|---|
committer | Tim Northover <t.p.northover@gmail.com> | 2020-09-18 09:50:40 +0100 |
commit | 2afe4becec77d91b47afcc4b6eaaa1002cebf837 (patch) | |
tree | d28fc4204a0b82c4636bc7b53d51777c96244b3b /llvm/utils/TableGen/CodeGenTarget.cpp | |
parent | c0e7f64685789520ad732d9dd6bf388dc916e518 (diff) | |
download | llvm-2afe4becec77d91b47afcc4b6eaaa1002cebf837.zip llvm-2afe4becec77d91b47afcc4b6eaaa1002cebf837.tar.gz llvm-2afe4becec77d91b47afcc4b6eaaa1002cebf837.tar.bz2 |
AArch64: make sure jump table entries can reach entire image
This turns all jump table entries into deltas within the target
function because in the small memory model all code & static data must
be in a 4GB block somewhere in memory.
When the entries were a delta between the table location and a basic
block, the 32-bit signed entries are not enough to guarantee
reachability.
https://reviews.llvm.org/D87286
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
0 files changed, 0 insertions, 0 deletions