Malte Dehling e5521fae94
[mlir-tblgen] Fix bug in emitEnumDoc (#118131)
Fixes a crash (assertion failure) in `mlir-tblgen -emit-enum-doc` caused
by calling `EnumAttr()` for the wrong type of `Record *`: `EnumAttr`
rather than `EnumAttrInfo` as asserted.

Compare the corresponding line in `emitDialectDoc()`:

0ad6be1927/mlir/tools/mlir-tblgen/OpDocGen.cpp (L532)

Co-authored-by: Malte Dehling <m.dehling@samsung.com>
2024-12-17 14:28:00 -05:00
..
2024-12-17 18:38:39 +01:00
2024-12-17 18:38:39 +01:00

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.