summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorLu Weining <luweining@loongson.cn>2024-06-04 09:00:14 +0800
committerGitHub <noreply@github.com>2024-06-04 09:00:14 +0800
commitfbdd94847814c926f2767e656ba501b4ca7dfaae (patch)
tree121d001760d85eb4909de0566972104e3627d27f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8ec1161fe66def9af8973c8c073be7d043cc411c (diff)
[LoongArch] Use R_LARCH_ALIGN without symbol as much as possible (#93775)
To support the third parameter of the alignment directive, R_LARCH_ALIGN relocations need a non-zero symbol index. In many cases we don't need the third parameter and can set the symbol index to 0. This patch will remove a lot of .Lla-relax-align* symbols and mitigate the size regression due to https://github.com/llvm/llvm-project/pull/72962. Co-authored-by: Jinyang He <hejinyang@loongson.cn> Co-authored-by: Weining Lu <luweining@loongson.cn>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions