[Mlir-commits] [mlir] 5c87374 - [mlir][docs] Use APIntParameter instead of APInt in AttributesAndTypes.md (#151315)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jul 30 04:48:10 PDT 2025
Author: Chaitanya Koparkar
Date: 2025-07-30T13:48:06+02:00
New Revision: 5c87374f2a33015d39b4e2634c2949851e463602
URL: https://github.com/llvm/llvm-project/commit/5c87374f2a33015d39b4e2634c2949851e463602
DIFF: https://github.com/llvm/llvm-project/commit/5c87374f2a33015d39b4e2634c2949851e463602.diff
LOG: [mlir][docs] Use APIntParameter instead of APInt in AttributesAndTypes.md (#151315)
Fixes #151314.
Added:
Modified:
mlir/docs/DefiningDialects/AttributesAndTypes.md
Removed:
################################################################################
diff --git a/mlir/docs/DefiningDialects/AttributesAndTypes.md b/mlir/docs/DefiningDialects/AttributesAndTypes.md
index 022bdad9fe512..b99186391d710 100644
--- a/mlir/docs/DefiningDialects/AttributesAndTypes.md
+++ b/mlir/docs/DefiningDialects/AttributesAndTypes.md
@@ -136,7 +136,7 @@ def My_IntegerAttr : MyDialect_Attr<"Integer", "int"> {
/// Here we've defined two parameters, one is a "self" type parameter, and the
/// other is the integer value of the attribute. The self type parameter is
/// specially handled by the assembly format.
- let parameters = (ins AttributeSelfTypeParameter<"">:$type, "APInt":$value);
+ let parameters = (ins AttributeSelfTypeParameter<"">:$type, APIntParameter<"">:$value);
/// Here we've defined a custom builder for the type, that removes the need to pass
/// in an MLIRContext instance; as it can be infered from the `type`.
More information about the Mlir-commits
mailing list