Skip to content

Commit c72d3ab

Browse files
authored
[mlir][Vector] Fix doc generation (#67341)
The format is `add_mlir_doc(<table gen file> <output md name> <output dir> <command>)` Using the Vector.td file does not work as it does not include VectorOps.td (so the docs are empty). If the output name is not VectorOps.md, the mlir-www site does not find the ops (and instead overwrites it with an empty template).
1 parent 710503f commit c72d3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Vector/IR/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
add_mlir_dialect(Vector vector)
2-
add_mlir_doc(VectorOps Vector Dialects/ -gen-op-doc)
2+
add_mlir_doc(VectorOps VectorOps Dialects/ -gen-op-doc)
33

44
# Add Vector operations
55
set(LLVM_TARGET_DEFINITIONS VectorOps.td)

0 commit comments

Comments
 (0)