[Mlir-commits] [mlir] [mlir][tensor] Relax input type requirement on `tensor.splat` (PR #145893)

Matthias Springer llvmlistbot at llvm.org
Thu Jun 26 06:48:39 PDT 2025


================
@@ -314,12 +314,16 @@ func.func @pad_to_static_size(%arg0: tensor<?x?xf32>, %ub0: index, %ub1: index,
 
 // CHECK-LABEL: func @test_splat_op
 // CHECK-SAME: [[S:%arg[0-9]+]]: f32
-func.func @test_splat_op(%s : f32) {
+// CHECK-SAME: [[P:%arg[0-9]+]]: !llvm.ptr
----------------
matthias-springer wrote:

nit: Let's drop the `arg` here.

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


More information about the Mlir-commits mailing list