[all-commits] [llvm/llvm-project] 43397e: LoongArchMCCodeEmitter: Set PCRel at fixup creation

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 4 16:19:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43397e5fe3debd779d82ee13a685113b41eb8ccf
      https://github.com/llvm/llvm-project/commit/43397e5fe3debd779d82ee13a685113b41eb8ccf
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-07-04 (Fri, 04 Jul 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp

  Log Message:
  -----------
  LoongArchMCCodeEmitter: 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