[all-commits] [llvm/llvm-project] 6fbe49: [lld][LoongArch] Relax call36/tail36: R_LARCH_CALL...
Zhaoxin Yang via All-commits
all-commits at lists.llvm.org
Sun Mar 9 01:21:49 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6fbe491e1776f6598790a844bf4e743de956b42d
https://github.com/llvm/llvm-project/commit/6fbe491e1776f6598790a844bf4e743de956b42d
Author: Zhaoxin Yang <yangzhaoxin at loongson.cn>
Date: 2025-03-09 (Sun, 09 Mar 2025)
Changed paths:
M lld/ELF/Arch/LoongArch.cpp
A lld/test/ELF/loongarch-relax-call36-2.s
A lld/test/ELF/loongarch-relax-call36.s
M lld/test/ELF/loongarch-relax-emit-relocs.s
Log Message:
-----------
[lld][LoongArch] Relax call36/tail36: R_LARCH_CALL36 (#123576)
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
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list