[all-commits] [llvm/llvm-project] b9257a: RISCVMCCodeEmitter: Set PCRel at fixup creation
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Jul 4 16:14:21 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9257a34a9e02bdc0ea19d9ac67294f788ab0b9b
https://github.com/llvm/llvm-project/commit/b9257a34a9e02bdc0ea19d9ac67294f788ab0b9b
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-04 (Fri, 04 Jul 2025)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
Log Message:
-----------
RISCVMCCodeEmitter: Set PCRel at fixup creation
Avoid reliance on the MCAssembler::evaluateFixup workaround that checks
MCFixupKindInfo::FKF_IsPCRel. Additionally, standardize how fixups are
appended. This helper will facilitate future fixup data structure
optimizations.
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