[Mlir-commits] [mlir] [mlir] Add dialect hooks for registering custom type and attribute alias printers (PR #173091)
Mehdi Amini
llvmlistbot at llvm.org
Sat Dec 20 04:30:23 PST 2025
================
@@ -0,0 +1,14 @@
+// RUN: mlir-opt %s | FileCheck %s
+
+// Check that attr and type aliases are properly printed.
+
+// CHECK: {types = [!test.tuple_i7_from_attr, !test.tuple_i6_from_attr, tuple<!test.int<signed, 5>>]} : () -> (!test.tuple_i7, !test.tuple_i6, tuple<!test.int<signed, 5>>)
+"test.op"() {types = [
----------------
joker-eph wrote:
Can you attach this to a non-test op (like module), we need to verify that the parse can load the test dialect when it encounters an alias for an on-loaded dialect.
https://github.com/llvm/llvm-project/pull/173091
More information about the Mlir-commits
mailing list