[all-commits] [llvm/llvm-project] fb13be: MC: Generalize evaluateTargetFixup

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 5 00:20:10 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
    M llvm/test/MC/RISCV/Relocations/mc-dump.s

  Log Message:
  -----------
  MC: Generalize evaluateTargetFixup

Generalize evaluateTargetFixup to be called by all targets,
making FKF_IsTarget unneeded.

Next: Update targets that use FKF_IsAlignedDownTo32Bits to define
`evaluateFixup` and remove FKF_IsAlignedDownTo32Bits from the generic
code.



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