[Mlir-commits] [mlir] [mlir] Add support for recursive elements in DICompositeTypeAttr. (PR #74948)

Tobias Gysi llvmlistbot at llvm.org
Sat Dec 16 09:37:04 PST 2023


gysit wrote:

> I think this may be causing the enumeration of aliases to become out of order. These aliases for the struct member attributes are not even used by anything because mutable attributes don't support them yet. Should these unused aliases even be outputted?

You can try to disable the alias printing yes (https://github.com/llvm/llvm-project/blob/e9e1c411b6db8fb739c2c7af0d41bdd48eeed3e5/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp#L2936). I assume this may help. Do you understand where exactly the problem is coming from. Do you see it for self recursive structs or do you have to introduce a mutally recursive struct to see the problem.

https://github.com/llvm/llvm-project/pull/74948


More information about the Mlir-commits mailing list