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

Matthias Springer llvmlistbot at llvm.org
Tue Jun 24 12:42:29 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);
----------------
matthias-springer wrote:

The `TypesMatchWith` in line 2917 already takes care of that.

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


More information about the Mlir-commits mailing list