[mlir][docs] Fix broken links to Traits documentation. (#144820)

This commit is contained in:
Han-Chung Wang
2025-06-18 20:07:43 -07:00
committed by GitHub
parent 5875fafdc5
commit 351303c28e
2 changed files with 2 additions and 2 deletions

View File

@@ -339,7 +339,7 @@ def MemRef_AllocaOp : AllocLikeOp<"alloca", AutomaticAllocationScopeResource,[
The `alloca` operation allocates memory on the stack, to be automatically
released when control transfers back from the region of its closest
surrounding operation with an
[`AutomaticAllocationScope`](../Traits.md/#automaticallocationscope) trait.
[`AutomaticAllocationScope`](../Traits/#automaticallocationscope) trait.
The amount of memory allocated is specified by its memref and additional
operands. For example:

View File

@@ -40,7 +40,7 @@ def ModuleOp : Builtin_Op<"module", [
[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
i.e. Modules are [IsolatedFromAbove](../Traits#isolatedfromabove). Modules have
an optional [symbol name](../SymbolsAndSymbolTables.md) which can be used to refer
to them in operations.