[all-commits] [llvm/llvm-project] 104e82: [ELF, PPC64] Inline toAddr16Rel and TLS remapping i...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Feb 14 22:49:58 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 104e82b75defd23ade610a5a75cd95244638ec0b
https://github.com/llvm/llvm-project/commit/104e82b75defd23ade610a5a75cd95244638ec0b
Author: Fangrui Song <i at maskray.me>
Date: 2026-02-14 (Sat, 14 Feb 2026)
Changed paths:
M lld/ELF/Arch/PPC64.cpp
Log Message:
-----------
[ELF,PPC64] Inline toAddr16Rel and TLS remapping into the main relocate switch
Delete the toAddr16Rel helper and the GOT_TLS-to-GOT16 remapping switch,
inlining their val adjustments as fallthrough cases in the main switch.
This reduces relocate() from 4 switches on type to 2 (TLS relaxation
pre-switch with early returns, and the unified write switch).
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