diff options
author | Fangrui Song <i@maskray.me> | 2023-11-15 15:18:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 15:18:47 -0800 |
commit | 103811a27abcbcc6792c88dcdd30034e5cc8adc3 (patch) | |
tree | 866b9733bf23dd66a5a815b9c767b2005dec2a60 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 322799aa5010812550eec6b300bce185b6718109 (diff) | |
download | llvm-103811a27abcbcc6792c88dcdd30034e5cc8adc3.zip llvm-103811a27abcbcc6792c88dcdd30034e5cc8adc3.tar.gz llvm-103811a27abcbcc6792c88dcdd30034e5cc8adc3.tar.bz2 |
[RISCV,GISel] Unconditionally use MO_PLT for calls (#72355)
All known linkers handle R_RISCV_CALL and R_RISCV_CALL_PLT in the same
way (GNU ld since
https://sourceware.org/pipermail/binutils/2020-August/112750.html).
MO_CALL is for R_RISCV_CALL, a deprecated relocation type. We don't
migrate away from MO_CALL yet.
For GISel we don't have the output difference concern and should weigh
more on simplicity.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions