[all-commits] [llvm/llvm-project] a06717: Reapply [MCExpr] Remove generic getVariantKindName...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Mar 3 10:14:33 PST 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/MCAsmInfo.cpp
    M llvm/lib/MC/MCExpr.cpp

  Log Message:
  -----------
  Reapply [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