[Mlir-commits] [mlir] a5b11f4 - [mlir] Fix stale comment about how to use `VariadicOfVariadic`

Markus Böck llvmlistbot at llvm.org
Wed Aug 17 11:15:27 PDT 2022


Author: Markus Böck
Date: 2022-08-17T20:15:17+02:00
New Revision: a5b11f40f8da824435d43d2332ac8870c1386868

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

LOG: [mlir] Fix stale comment about how to use `VariadicOfVariadic`

The kind of attribute required has changed in 58a47508f03546b4fce668fad751102b94feacfd but the comment was not updated to reflect it.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td
index 7a4606da93bbc..4047440d11f98 100644
--- a/mlir/include/mlir/IR/OpBase.td
+++ b/mlir/include/mlir/IR/OpBase.td
@@ -297,7 +297,7 @@ class Variadic<Type type> : TypeConstraint<type.predicate, type.summary,
 // A nested variadic type constraint. It expands to zero or more variadic ranges
 // of the base type. This class is used for supporting variadic operands and
 // results. `variadicSegmentAttrName` should correspond to the name of an
-// I32ElementsAttr argument that provides the sizes of the inner variadic
+// DenseI32ArrayAttr argument that provides the sizes of the inner variadic
 // operand groups.
 class VariadicOfVariadic<Type type, string variadicSegmentAttrName>
     : Variadic<type> {


        


More information about the Mlir-commits mailing list