diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir @@ -73,12 +73,12 @@ // Read the sparse matrix from file, construct sparse storage. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) %a = sparse_tensor.new %fileName - : !llvm.ptr to tensor + : !Filename to tensor // Initialize all-dense annotated "sparse" matrix to all zeros. %fileZero = call @getTensorFilename(%c1) : (index) -> (!Filename) %x = sparse_tensor.new %fileZero - : !llvm.ptr to tensor + : !Filename to tensor // Call the kernel. %0 = call @dense_output(%a, %x) diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir @@ -75,7 +75,7 @@ // Read the sparse tensor from file, construct sparse storage. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) - %a = sparse_tensor.new %fileName : !llvm.ptr to tensor<7x3x3x3x3x3x5x3xf64, #SparseTensor> + %a = sparse_tensor.new %fileName : !Filename to tensor<7x3x3x3x3x3x5x3xf64, #SparseTensor> // Call the kernel. %0 = call @kernel_flatten(%a, %x) diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir @@ -66,7 +66,7 @@ // Read the sparse matrix from file, construct sparse storage. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) - %a = sparse_tensor.new %fileName : !llvm.ptr to tensor + %a = sparse_tensor.new %fileName : !Filename to tensor // Initialize dense vectors. %bdata = memref.alloc(%c256) : memref diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir @@ -72,7 +72,7 @@ // Read the sparse B input from a file. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) %b = sparse_tensor.new %fileName - : !llvm.ptr to tensor + : !Filename to tensor // Initialize dense C and D inputs and dense output A. %cdata = memref.alloc(%c3, %c5) : memref diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir @@ -59,7 +59,7 @@ // Read the sparse matrix from file, construct sparse storage. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) - %x = sparse_tensor.new %fileName : !llvm.ptr to tensor + %x = sparse_tensor.new %fileName : !Filename to tensor // Call kernel. %0 = call @kernel_eltwise_mult(%x) : (tensor) -> tensor diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir @@ -88,7 +88,7 @@ // Read the sparse matrix from file, construct sparse storage. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) - %s = sparse_tensor.new %fileName : !llvm.ptr to tensor + %s = sparse_tensor.new %fileName : !Filename to tensor // Call the kernel. %0 = call @sampled_dense_dense(%s, %a, %b, %x) diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir @@ -64,7 +64,7 @@ // Read the sparse matrix from file, construct sparse storage. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) - %a = sparse_tensor.new %fileName : !llvm.ptr to tensor + %a = sparse_tensor.new %fileName : !Filename to tensor // Initialize dense vectors. %bdata = memref.alloc(%c256, %c4) : memref diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir @@ -63,7 +63,7 @@ // Read the sparse matrix from file, construct sparse storage. %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) - %a = sparse_tensor.new %fileName : !llvm.ptr to tensor + %a = sparse_tensor.new %fileName : !Filename to tensor // Call the kernel. %0 = call @kernel_sum_reduce(%a, %x)