[all-commits] [llvm/llvm-project] 4a3521: [mlir][ODS] Fix TableGen for AttrOrTypeDef::hasSto...

Andrei Golubev via All-commits all-commits at lists.llvm.org
Fri Jul 11 03:45:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a35214bddbb67f9597a500d48ab8c4fb25af150
      https://github.com/llvm/llvm-project/commit/4a35214bddbb67f9597a500d48ab8c4fb25af150
  Author: Andrei Golubev <andrey.golubev at intel.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M mlir/test/lib/Dialect/Test/TestAttrDefs.td
    M mlir/test/lib/Dialect/Test/TestAttributes.cpp
    M mlir/test/lib/Dialect/Test/TestTypeDefs.td
    M mlir/test/lib/Dialect/Test/TestTypes.cpp
    M mlir/test/mlir-tblgen/attrdefs.td
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp

  Log Message:
  -----------
  [mlir][ODS] Fix TableGen for AttrOrTypeDef::hasStorageCustomConstructor (#147957)

There is a `hasStorageCustomConstructor` flag that allows one to provide
custom attribute/type construction implementation. Unfortunately, it
seems like the flag does not work properly: the generated C++ produces
*empty body* method instead of producing only a declaration.



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