diff --git a/mlir/include/mlir/IR/CommonTypeConstraints.td b/mlir/include/mlir/IR/CommonTypeConstraints.td index a18b32253d857..601517717978e 100644 --- a/mlir/include/mlir/IR/CommonTypeConstraints.td +++ b/mlir/include/mlir/IR/CommonTypeConstraints.td @@ -883,7 +883,7 @@ class NestedTupleOf allowedTypes> : // Type constraint for types that are "like" some type or set of types T, that is // they're either a T or a mapable container of Ts. class TypeOrValueSemanticsContainer - : TypeConstraint.predicate]>, name>; diff --git a/mlir/test/lib/Dialect/Test/TestOps.td b/mlir/test/lib/Dialect/Test/TestOps.td index cdc1237ec8c5a..cc33a7bf53980 100644 --- a/mlir/test/lib/Dialect/Test/TestOps.td +++ b/mlir/test/lib/Dialect/Test/TestOps.td @@ -103,6 +103,10 @@ def TEST_TestType : DialectType($_self)">, "test">, BuildableType<"$_builder.getType<::test::TestType>()">; +def SignlessLikeVariadic : TEST_Op<"signless_like_variadic"> { + let arguments = (ins Variadic:$x); +} + //===----------------------------------------------------------------------===// // Test Symbols //===----------------------------------------------------------------------===//