[Mlir-commits] [llvm] [mlir] [MLIR] Make generated markdown doc more consistent (PR #119926)

Mehdi Amini llvmlistbot at llvm.org
Mon Dec 16 10:17:36 PST 2024


================
@@ -85,7 +93,19 @@ def TestEnum :
 // CHECK: [TOC]
 
 // CHECK-NOT: [TOC]
+
 // CHECK: test.e
+// CHECK: _Op with a summary_
+// CHECK: Op with a description
+// CHECK: Operands:
+// CHECK: | Operand | Description |
+// CHECK: | :-----: | ----------- |
+// CHECK: | `tensor` | |
+// CHECK: Results:
+// CHECK: | Result | Description |
+// CHECK: | :----: | ----------- |
+// CHECK: | `output` | |
----------------
joker-eph wrote:

I think `// CHECK: {{^$}}` may do?

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


More information about the Mlir-commits mailing list