[all-commits] [llvm/llvm-project] 8773bd: [mlir] Print aliases for recursive types (#110346)

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Sat Sep 28 18:15:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8773bd0e6e9de37787e73c4c5e73ca65b0e2221f
      https://github.com/llvm/llvm-project/commit/8773bd0e6e9de37787e73c4c5e73ca65b0e2221f
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2024-09-28 (Sat, 28 Sep 2024)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/test/IR/recursive-type.mlir

  Log Message:
  -----------
  [mlir] Print aliases for recursive types (#110346)

We're already keeping track of the alias depth to ensure that aliases
are printed before they're referenced. For recursive types, we can
additionally track whether an alias has been printed and only reference
it if so, to lift the restrictions on not printing aliases inside
mutable types.



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