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

Kevin Gleason llvmlistbot at llvm.org
Mon Dec 16 11:07:16 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:

Ah, found `CHECK-EMPTY:` 

https://llvm.org/docs/CommandGuide/FileCheck.html#the-check-empty-directive

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


More information about the Mlir-commits mailing list