[all-commits] [llvm/llvm-project] 39df49: [Xtensa] Rename VariantKind to Specifier

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Mar 23 11:27:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39df4945e1888d407777e58fbf03f6ad1e859c11
      https://github.com/llvm/llvm-project/commit/39df4945e1888d407777e58fbf03f6ad1e859c11
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-03-23 (Sun, 23 Mar 2025)

  Changed paths:
    M llvm/lib/Target/Xtensa/AsmParser/XtensaAsmParser.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaInstPrinter.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.h
    M llvm/lib/Target/Xtensa/XtensaAsmPrinter.cpp

  Log Message:
  -----------
  [Xtensa] Rename VariantKind to Specifier

Follow the X86, Mips, and RISCV renaming.

> "Relocation modifier" suggests adjustments happen during the linker's relocation step rather than the assembler's expression evaluation.
> "Relocation specifier" is clear, aligns with Arm and IBM AIX's documentation, and fits the assembler's role seamlessly.

In addition, rename *MCExpr::getKind, which confusingly shadows the base class getKind.

The parseSpecifier name follows Sparc.



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