Attribute / Type Constraints Attribute / Type Constraints When defining the arguments of an operation in TableGen, users can specify either plain attributes/types or use attribute/type constraints to levy additional requirements on the attribute value or operand type. def My_Type1 : MyDialect_Type<"Type1", "type1"> { ... } def My_Type2 : MyDialect_Type<"Type2", "type2"> { ... } // Plain type let arguments = (ins MyType1:$val); // Type constraint let arguments = (ins AnyTypeOf<[MyType1, MyType...