diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir @@ -37,7 +37,9 @@ // // CHECK: 53 // - %x = bufferization.alloc_tensor() : tensor + %t = bufferization.alloc_tensor() : tensor + %z = arith.constant 0.0 : f32 + %x = tensor.insert %z into %t[] : tensor %0 = call @sparse_dot(%s1, %s2, %x) : (tensor<1024xf32, #SparseVector>, tensor<1024xf32, #SparseVector>, tensor) -> tensor