diff options
author | Zhaoxin Yang <yangzhaoxin@loongson.cn> | 2025-03-09 17:21:27 +0800 |
---|---|---|
committer | yangzhaoxin <yangzhaoxin@loongson.cn> | 2025-03-10 11:02:23 +0800 |
commit | 64c73d5c7184d1287e4982684d0fe8ad5f2341c0 (patch) | |
tree | 8de35072ad30005ac8f72fa4418c8a48b49807f9 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | de132b2a0c344729703358a1c3ac90fb28fdb130 (diff) | |
download | llvm-64c73d5c7184d1287e4982684d0fe8ad5f2341c0.zip llvm-64c73d5c7184d1287e4982684d0fe8ad5f2341c0.tar.gz llvm-64c73d5c7184d1287e4982684d0fe8ad5f2341c0.tar.bz2 |
Reland [lld][LoongArch] Relax call36/tail36: R_LARCH_CALL36
Instructions with relocation `R_LARCH_CALL36` may be relax as follows:
```
From:
pcaddu18i $dest, %call36(foo)
R_LARCH_CALL36, R_LARCH_RELAX
jirl $r, $dest, 0
To:
b/bl foo # bl if r=$ra, b if r=$zero
R_LARCH_B26
```
This patch fixes the buildbots failuer of lld tests.
Changes: Modify test files: from `sym@plt` to `%plt(sym)`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions