[Mlir-commits] [mlir] [mlir] Allow all shaped types for arith ops. (PR #99028)
Johannes Reifferscheid
llvmlistbot at llvm.org
Wed Jul 17 06:03:37 PDT 2024
================
@@ -636,6 +636,10 @@ def AnyScalableVector : ScalableVectorOf<[AnyType]>;
// Shaped types.
+class ShapedTypeOf<list<Type> allowedTypes> :
+ ShapedContainerType<allowedTypes, IsShapedTypePred, "shaped",
+ "::mlir::ShapedType">;
----------------
jreiffers wrote:
Being a value type is not sufficient (e.g. we shouldn't allow adding tuples or structs). So scalar or shaped value type is probably the most useful/accurate definition.
https://github.com/llvm/llvm-project/pull/99028
More information about the Mlir-commits
mailing list