[Mlir-commits] [mlir] [mlir][vector] Relax operand type restrictions for `vector.from_elements` (PR #145517)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Jun 24 09:39:49 PDT 2025


================
@@ -2931,8 +2931,7 @@ def Vector_SplatOp : Vector_Op<"splat", [
     ```
   }];
 
-  let arguments = (ins AnyTypeOf<[AnySignlessInteger, Index, AnyFloat],
-                                 "integer/index/float type">:$input);
+  let arguments = (ins AnyType:$input);
----------------
banach-space wrote:

Shouldn't this be tied to `VectorElementTypeInterface`?

https://github.com/llvm/llvm-project/pull/145517


More information about the Mlir-commits mailing list