aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorStefan Gränitz <stefan.graenitz@gmail.com>2020-10-23 21:52:12 +0200
committerStefan Gränitz <stefan.graenitz@gmail.com>2020-10-24 14:54:38 +0200
commit138b9f1928454a6096bb928195bacb7ccd46fd00 (patch)
tree9401c5b3b9a5d9f163bdf29922c92057ffe853fb /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parentb481e00bf4de31eeb20b95f83b1eae3dcdb4b79c (diff)
downloadllvm-138b9f1928454a6096bb928195bacb7ccd46fd00.zip
llvm-138b9f1928454a6096bb928195bacb7ccd46fd00.tar.gz
llvm-138b9f1928454a6096bb928195bacb7ccd46fd00.tar.bz2
[JITLink][ELF] PCRel32GOTLoad relocations are resolved like regular PCRel32 ones
The difference is that the former are indirect and go to the GOT while the latter go to the target directly. This info can be used to relax indirect ones that don't need the GOT (because the target is in range). We check for this optimization beforehand. For formal correctness and to avoid confusion, we should only change the relocation kind if we actually apply the relaxation.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions