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

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Mon Mar 10 00:16:32 PDT 2025


  Branch: refs/heads/users/krzysz00/refactor-enum-enum-attr
  Home:   https://github.com/llvm/llvm-project
  Commit: 1713669adc65f6262f2be82fb22ff3a77c8203e7
      https://github.com/llvm/llvm-project/commit/1713669adc65f6262f2be82fb22ff3a77c8203e7
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-08 (Sat, 08 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: b4c6f6a72ff8df7d7adf3d8524a00c7f18c559de
      https://github.com/llvm/llvm-project/commit/b4c6f6a72ff8df7d7adf3d8524a00c7f18c559de
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-08 (Sat, 08 Mar 2025)

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

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


  Commit: e53ccf37fac3959b1d84d56b8a4a8022eca861b8
      https://github.com/llvm/llvm-project/commit/e53ccf37fac3959b1d84d56b8a4a8022eca861b8
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-08 (Sat, 08 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: ac1853590bc83afceaf5211b1d38856b65437d80
      https://github.com/llvm/llvm-project/commit/ac1853590bc83afceaf5211b1d38856b65437d80
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-08 (Sat, 08 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: 2c4b4f1156626a2a667339f2f5c216a353456dcc
      https://github.com/llvm/llvm-project/commit/2c4b4f1156626a2a667339f2f5c216a353456dcc
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-08 (Sat, 08 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: ac761dcb9e95e1debf44c7350825f62e5b9aba53
      https://github.com/llvm/llvm-project/commit/ac761dcb9e95e1debf44c7350825f62e5b9aba53
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-08 (Sat, 08 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: fd1a5af8e89cfd77e994f04d41fd90dec797db93
      https://github.com/llvm/llvm-project/commit/fd1a5af8e89cfd77e994f04d41fd90dec797db93
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-03-08 (Sat, 08 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: 67bfda91ebf53d412708c76a0394543fd1eafe15
      https://github.com/llvm/llvm-project/commit/67bfda91ebf53d412708c76a0394543fd1eafe15
  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/1713669adc65%5E...67bfda91ebf5

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