[Mlir-commits] [mlir] [mlir] Support better printing for mutually recursive types (PR #112160)

River Riddle llvmlistbot at llvm.org
Mon Oct 14 09:44:55 PDT 2024


================
@@ -525,7 +529,7 @@ void TestRecursiveAliasType::print(AsmPrinter &printer) const {
       printer.tryStartCyclicPrint(*this);
----------------
River707 wrote:

Yes, I agree here. I don't think we should be exposing more concepts to the user, especially for things like aliases (users shouldn't be thinking about aliases at all, just printing their attribute/type). I would expect that the internals of the printer could be made smarter when printing aliases to make things more compact when they can be.

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


More information about the Mlir-commits mailing list