[all-commits] [llvm/llvm-project] d85536: CSKYMCCodeEmitter: Set PCRel at fixup creation

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 4 20:52:06 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.cpp
    R llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCTargetDesc.cpp

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