[all-commits] [llvm/llvm-project] 24ba6d: MCAsmBackend: Use assert for unreachable relaxInst...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jul 6 16:35:21 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/M68k/MCTargetDesc/M68kAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  MCAsmBackend: Use assert for unreachable relaxInstruction dump code

The check duplicates what fixupNeedsRelaxationAdvanced has checked.
The dump code is not very useful as it does not show the instruction
name.



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