[all-commits] [llvm/llvm-project] 04b49b: [MCExpr] Remove generic getVariantKindName and get...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Mar 2 22:06:10 PST 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/MCAsmInfo.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp

  Log Message:
  -----------
  [MCExpr] Remove generic getVariantKindName and getVariantKindForName

They are error-prone as MCParser may parse a variant kind,
which cannot be handled by the target.

The replacement in MCAsmInfo should be used instead.

Follow-up to f244b8eed37a12539fb11b76e19ec7a7eb41dccc



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