[Mlir-commits] [mlir] 9a6eb49 - [mlir][doc] Fix links and indentation of mlir::ModuleOp description

Markus Böck llvmlistbot at llvm.org
Sun May 23 11:02:04 PDT 2021


Author: Markus Böck
Date: 2021-05-23T20:01:54+02:00
New Revision: 9a6eb4968e03d4dbcc74a5cbd3f90486c2b5e6c3

URL: https://github.com/llvm/llvm-project/commit/9a6eb4968e03d4dbcc74a5cbd3f90486c2b5e6c3
DIFF: https://github.com/llvm/llvm-project/commit/9a6eb4968e03d4dbcc74a5cbd3f90486c2b5e6c3.diff

LOG: [mlir][doc] Fix links and indentation of mlir::ModuleOp description

All lines after the first are currently indented by one char further to the left than the first line. This leads to the first character of each sentence being cut from the resulting Markdown file after compilation. The text also contains 3 references to sections of other markdown files. One was missing the file, while the other two had outdated files, leading to 404 errors in the documentation.

Differential Revision: https://reviews.llvm.org/D102983

Added: 
    

Modified: 
    mlir/include/mlir/IR/BuiltinOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/BuiltinOps.td b/mlir/include/mlir/IR/BuiltinOps.td
index f91f4e2e613a..a05cfdd94471 100644
--- a/mlir/include/mlir/IR/BuiltinOps.td
+++ b/mlir/include/mlir/IR/BuiltinOps.td
@@ -165,12 +165,12 @@ def ModuleOp : Builtin_Op<"module", [
   let summary = "A top level container operation";
   let description = [{
     A `module` represents a top-level container operation. It contains a single
-   [graph region](#control-flow-and-ssacfg-regions) containing a single block
-   which can contain any operations and does not have a terminator. Operations
-   within this region cannot implicitly capture values defined outside the module,
-   i.e. Modules are [IsolatedFromAbove](Traits.md#isolatedfromabove). Modules have
-   an optional [symbol name](SymbolsAndSymbolTables.md) which can be used to refer
-   to them in operations.
+    [graph region](../LangRef.md#control-flow-and-ssacfg-regions) containing a single block
+    which can contain any operations and does not have a terminator. Operations
+    within this region cannot implicitly capture values defined outside the module,
+    i.e. Modules are [IsolatedFromAbove](../Traits.md#isolatedfromabove). Modules have
+    an optional [symbol name](../SymbolsAndSymbolTables.md) which can be used to refer
+    to them in operations.
 
     Example:
 


        


More information about the Mlir-commits mailing list