[all-commits] [llvm/llvm-project] 263ec7: [mlir][NFC] Move and rename EnumAttrCase, EnumAttr...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Wed Mar 26 18:26:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 263ec7221ef6ef96876d75b69ab48bf37dcbb25e
      https://github.com/llvm/llvm-project/commit/263ec7221ef6ef96876d75b69ab48bf37dcbb25e
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M mlir/include/mlir/TableGen/Attribute.h
    A mlir/include/mlir/TableGen/EnumInfo.h
    M mlir/include/mlir/TableGen/Pattern.h
    M mlir/lib/TableGen/Attribute.cpp
    M mlir/lib/TableGen/CMakeLists.txt
    A mlir/lib/TableGen/EnumInfo.cpp
    M mlir/lib/TableGen/Pattern.cpp
    M mlir/tools/mlir-tblgen/EnumPythonBindingGen.cpp
    M mlir/tools/mlir-tblgen/EnumsGen.cpp
    M mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp
    M mlir/tools/mlir-tblgen/OpDocGen.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp
    M mlir/tools/mlir-tblgen/RewriterGen.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
    M mlir/tools/mlir-tblgen/TosaUtilsGen.cpp

  Log Message:
  -----------
  [mlir][NFC] Move and rename EnumAttrCase, EnumAttr C++ classes (#132650)

This moves the EnumAttrCase and EnumAttr classes from Attribute.h/.cpp
to a new EnumInfo.h/cpp and renames them to EnumCase and EnumInfo,
respectively.

This doesn't change any of the tablegen files or any user-facing aspects
of the enum attribute generation system, just reorganizes code in order
to make main PR (#132148) shorter.



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