[Mlir-commits] [mlir] [mlir][docs] Use APIntParameter instead of APInt in AttributesAndTypes.md (PR #151315)
Chaitanya Koparkar
llvmlistbot at llvm.org
Wed Jul 30 04:43:53 PDT 2025
https://github.com/ckoparkar created https://github.com/llvm/llvm-project/pull/151315
Fixes 151314.
/cc @Jezurko
>From a0b1b04972f6f2c16408e189a7e3ea617e8d5dfe Mon Sep 17 00:00:00 2001
From: Chaitanya Koparkar <ckoparkar at gmail.com>
Date: Wed, 30 Jul 2025 07:20:56 -0400
Subject: [PATCH] [mlir][docs] Use APIntParameter instead of APInt
---
mlir/docs/DefiningDialects/AttributesAndTypes.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/docs/DefiningDialects/AttributesAndTypes.md b/mlir/docs/DefiningDialects/AttributesAndTypes.md
index 022bdad9fe512f..b99186391d710a 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