[all-commits] [llvm/llvm-project] d13063: [mlir][NFC] Move and rename EnumAttrCas, EnumAttr ...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Sun Mar 23 17:10:22 PDT 2025


  Branch: refs/heads/users/krzysz00/move-enum-info
  Home:   https://github.com/llvm/llvm-project
  Commit: d130635269f41fa489fb51ea1aae8d2067c4ccca
      https://github.com/llvm/llvm-project/commit/d130635269f41fa489fb51ea1aae8d2067c4ccca
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-23 (Sun, 23 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 EnumAttrCas, EnumAttr C++ classes

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