[all-commits] [llvm/llvm-project] c03233: Stash enums as real properties, not sure this is t...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Mon Mar 10 20:08:22 PDT 2025


  Branch: refs/heads/users/krzysz00/refactor-enum-enum-attr
  Home:   https://github.com/llvm/llvm-project
  Commit: c0323394de2ecfce18d298e788bae26a724ad249
      https://github.com/llvm/llvm-project/commit/c0323394de2ecfce18d298e788bae26a724ad249
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/IR/EnumAttr.td

  Log Message:
  -----------
  Stash enums as real properties, not sure this is the way we'll go


  Commit: 488e2f82f5155173050752a6c0cdb544448b3271
      https://github.com/llvm/llvm-project/commit/488e2f82f5155173050752a6c0cdb544448b3271
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/IR/EnumAttr.td

  Log Message:
  -----------
  More of the EnumInfo / EnumAttrInfo untangling, stash commit


  Commit: 7fc5ab190a1530d2243736b1ab2ea8ea2bdbc5a0
      https://github.com/llvm/llvm-project/commit/7fc5ab190a1530d2243736b1ab2ea8ea2bdbc5a0
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/IR/EnumAttr.td

  Log Message:
  -----------
  And we've at least gone through the file, might even start to compile, now need to get all the tooling


  Commit: 7a455fc87c6f594a98ec29e4b58c36b20942c340
      https://github.com/llvm/llvm-project/commit/7a455fc87c6f594a98ec29e4b58c36b20942c340
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/IR/EnumAttr.td

  Log Message:
  -----------
  Resolve diamond inheritance issue, now we go wrangle all the C++


  Commit: 0d757eef0cf705f8492f4c426c4abe66e2829a9a
      https://github.com/llvm/llvm-project/commit/0d757eef0cf705f8492f4c426c4abe66e2829a9a
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/IR/EnumAttr.td
    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
    M mlir/utils/spirv/gen_spirv_dialect.py

  Log Message:
  -----------
  We're seeing weird behavior on tablegen's isa, but forward progress is happening


  Commit: c13accecca0b550dd85ce3ae0776407ba71b2253
      https://github.com/llvm/llvm-project/commit/c13accecca0b550dd85ce3ae0776407ba71b2253
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/test/Dialect/LLVMIR/func.mlir
    M mlir/tools/mlir-tblgen/EnumPythonBindingGen.cpp
    M mlir/tools/mlir-tblgen/EnumsGen.cpp

  Log Message:
  -----------
  At least now it compiles and passes existing tests


  Commit: 884b0b9a64d98539a6ac46e21ebba941b5a3127d
      https://github.com/llvm/llvm-project/commit/884b0b9a64d98539a6ac46e21ebba941b5a3127d
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/IR/EnumAttr.td
    M mlir/test/mlir-tblgen/enums-gen.td

  Log Message:
  -----------
  Existing tests pass


  Commit: c0bbfdf637d7b76c93436b887be9438622de4da3
      https://github.com/llvm/llvm-project/commit/c0bbfdf637d7b76c93436b887be9438622de4da3
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/include/mlir/IR/EnumAttr.td
    M mlir/include/mlir/IR/Properties.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/TableGen/EnumInfo.cpp
    M mlir/test/mlir-tblgen/enums-gen.td
    M mlir/tools/mlir-tblgen/EnumsGen.cpp

  Log Message:
  -----------
  Basically working setup, mainly needs its generic form tweaked and tests. Fixed all the stupid typos.


Compare: https://github.com/llvm/llvm-project/compare/67bfda91ebf5...c0bbfdf637d7

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