diff options
author | Feng Zou <feng.zou@intel.com> | 2024-12-13 09:47:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 09:47:52 +0800 |
commit | 51001f87f1b1136554a73228fac2bde9735b2d06 (patch) | |
tree | 2f15e9c5c20727db07fcfda84ab8b9e04fd0eaf5 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 768754807f17754fb450ec672779b827ad5df4b4 (diff) | |
download | llvm-51001f87f1b1136554a73228fac2bde9735b2d06.zip llvm-51001f87f1b1136554a73228fac2bde9735b2d06.tar.gz llvm-51001f87f1b1136554a73228fac2bde9735b2d06.tar.bz2 |
[X86][MC] Fix offset for R_X86_64_CODE_6_GOTTPOFF fixup (#119496)
1. Fix the offset for R_X86_64_CODE_6_GOTTPOFF fixup, which is
introduced by #117277. It should be biased with the size of the
immediate field. Related tests are updated.
2. Rename reloc_riprel_6byte_relax to reloc_riprel_4byte_relax_evex as
the number of bytes represents the size of fixup, and "evex" suffix is added
as it's used for APX NDD/NF instructions with EVEX prefix.
3. Remove incorrectly setting R_X86_64_CODE_6_GOTTPOFF relocation type
for APX NDD/NF instructions with GOTPCREL symbol reference modifier.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions