[all-commits] [llvm/llvm-project] 6f6dc1: [MC] Restore MCAsmBackend::shouldForceRelocation t...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed May 21 22:52:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f6dc1f239433393c0b09430193beb85d03464c8
https://github.com/llvm/llvm-project/commit/6f6dc1f239433393c0b09430193beb85d03464c8
Author: Fangrui Song <i at maskray.me>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/lib/MC/MCAsmBackend.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
Log Message:
-----------
[MC] Restore MCAsmBackend::shouldForceRelocation to false
Revert the Target.getSpecifier implementation
(38c3ad36be1facbe6db2dede7e93c0f12fb4e1dc) and update SystemZAsmBackend
instead.
Many targets with %lo/%hi style specifiers (SPARC, MIPS, PowerPC,
RISC-V) do not force relocations for these specifiers.
Additionally, with the introduction of the addReloc hook,
shouldForceRelocation is not that necessary and should probably be
phased out.
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