[Mlir-commits] [llvm] [mlir] [MLIR] Make generated markdown doc more consistent (PR #119926)
Kevin Gleason
llvmlistbot at llvm.org
Tue Dec 17 11:55:24 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` | |
----------------
GleasonK wrote:
Done, added CHECK-NEXT and CHECK-EMPTY where it made sense.
Looks like CHECK-EMPTY doesn't have a `NEXT` form (tried CHECK-NEXT-EMPTY / CHECK-EMPTY-NEXT), but I think enforcing this way is probably fine given that the bug is that we just need to ensure there is _some_ empty line(s) between doc blocks.
https://github.com/llvm/llvm-project/pull/119926
More information about the Mlir-commits
mailing list