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

Mehdi Amini llvmlistbot at llvm.org
Fri Dec 13 16:15:03 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:

If you care about the new lines, you should use CHECK-NEXT to ensure that there are no other line in-between here.

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


More information about the Mlir-commits mailing list