Skip to content

Commit 351303c

Browse files
authored
[mlir][docs] Fix broken links to Traits documentation. (llvm#144820)
1 parent 5875faf commit 351303c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def MemRef_AllocaOp : AllocLikeOp<"alloca", AutomaticAllocationScopeResource,[
339339
The `alloca` operation allocates memory on the stack, to be automatically
340340
released when control transfers back from the region of its closest
341341
surrounding operation with an
342-
[`AutomaticAllocationScope`](../Traits.md/#automaticallocationscope) trait.
342+
[`AutomaticAllocationScope`](../Traits/#automaticallocationscope) trait.
343343
The amount of memory allocated is specified by its memref and additional
344344
operands. For example:
345345

mlir/include/mlir/IR/BuiltinOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def ModuleOp : Builtin_Op<"module", [
4040
[graph region](../LangRef.md#control-flow-and-ssacfg-regions) containing a single block
4141
which can contain any operations and does not have a terminator. Operations
4242
within this region cannot implicitly capture values defined outside the module,
43-
i.e. Modules are [IsolatedFromAbove](../Traits.md#isolatedfromabove). Modules have
43+
i.e. Modules are [IsolatedFromAbove](../Traits#isolatedfromabove). Modules have
4444
an optional [symbol name](../SymbolsAndSymbolTables.md) which can be used to refer
4545
to them in operations.
4646

0 commit comments

Comments
 (0)