[Mlir-commits] [mlir] [mlir] Introduce OpAsmAttrInterface for pretty-print (PR #124721)
River Riddle
llvmlistbot at llvm.org
Tue Feb 18 10:03:37 PST 2025
================
@@ -22,3 +22,18 @@ func.func @block_argument_name_from_op_asm_type_interface() {
}
return
}
+
+// -----
+
+//===----------------------------------------------------------------------===//
+// Test OpAsmAttrInterface
+//===----------------------------------------------------------------------===//
+
+// CHECK: #op_asm_attr_interface_test
+#attr = #test.op_asm_attr_interface<value = "test">
+
+func.func @test_op_asm_attr_interface() {
+ // CHECK-LABEL: @test_op_asm_attr_interface
----------------
River707 wrote:
This check doesn't really add anything and can just be dropped.
https://github.com/llvm/llvm-project/pull/124721
More information about the Mlir-commits
mailing list