[all-commits] [llvm/llvm-project] 152c9d: MC: Sink FKF_IsAlignedDownTo32Bits to needed targets

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 5 11:11:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 152c9d577c41ac45a85bc555b56a3c4a2046ec5b
      https://github.com/llvm/llvm-project/commit/152c9d577c41ac45a85bc555b56a3c4a2046ec5b
  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/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaAsmBackend.cpp

  Log Message:
  -----------
  MC: Sink FKF_IsAlignedDownTo32Bits to needed targets

Utilize the generalized MCAsmBackend::evaluateFixup hook. This reduces
overhead for other targets (e.g., x86).

Now MCAsmBackend::getFixupKindInfo is only used by MCAsmStreamer
-show-encoding in 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