[all-commits] [llvm/llvm-project] 6c2aa3: MCAsmStreamer: Print symbol equated to a register

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jun 28 18:08:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c2aa37fb1fd3802de1fedb0296f38756a30389b
      https://github.com/llvm/llvm-project/commit/6c2aa37fb1fd3802de1fedb0296f38756a30389b
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-06-28 (Sat, 28 Jun 2025)

  Changed paths:
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/test/MC/X86/register-assignment.s
    R llvm/test/MC/X86/unused_reg_var_assign.s

  Log Message:
  -----------
  MCAsmStreamer: Print symbol equated to a register

GNU Assembler supports `a = %eax` for x86. We use X86MCExpr to support a
register expression. https://reviews.llvm.org/D47545 added reassignment
support but this code is not necessary.



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