Skip to content

Commit 52491c9

Browse files
authored
[MLIR][LLVM] Remove typed pointer remnants from integration tests (#71208)
This commit removes all LLVM dialect typed pointers from the integration tests. Typed pointers have been deprecated for a while now and it's planned to soon remove them from the LLVM dialect. Related PSA: https://discourse.llvm.org/t/psa-removal-of-typed-pointers-from-the-llvm-dialect/74502
1 parent a682a9c commit 52491c9

21 files changed

+28
-29
lines changed

mlir/test/Integration/Dialect/SparseTensor/CPU/block.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
2626
// R_UN: %{compile} | env %{env} %{run} | FileCheck %s
2727

28-
!Filename = !llvm.ptr<i8>
28+
!Filename = !llvm.ptr
2929

3030
#BSR = #sparse_tensor.encoding<{
3131
map = (i, j) ->

mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// Do the same run, but now with direct IR generation and VLA vectorization.
3232
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
3333

34-
!Filename = !llvm.ptr<i8>
34+
!Filename = !llvm.ptr
3535

3636
#DenseMatrix = #sparse_tensor.encoding<{
3737
map = (d0, d1) -> (d0 : dense, d1 : dense)

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
2626
// R_UN: %{compile} | env %{env} %{run} | FileCheck %s
2727

28-
!Filename = !llvm.ptr<i8>
28+
!Filename = !llvm.ptr
2929

3030
#CSR = #sparse_tensor.encoding<{
3131
map = (i, j) -> ( i : dense, j : compressed)

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// Do the same run, but now with direct IR generation and VLA vectorization.
3232
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
3333

34-
!Filename = !llvm.ptr<i8>
34+
!Filename = !llvm.ptr
3535

3636
#SparseTensor = #sparse_tensor.encoding<{
3737
// Note that any dimToLvl permutation should give the same results

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
// vectorization.
4141
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
4242

43-
!Filename = !llvm.ptr<i8>
43+
!Filename = !llvm.ptr
4444

4545
#SparseMatrix = #sparse_tensor.encoding<{
4646
map = (d0, d1) -> (d0 : dense, d1 : compressed),

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// vectorization.
3333
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
3434

35-
!Filename = !llvm.ptr<i8>
35+
!Filename = !llvm.ptr
3636

3737
#SparseTensor = #sparse_tensor.encoding<{
3838
map = (d0, d1, d2) -> (d0 : compressed, d1 : compressed, d2 : compressed)

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// vectorization.
2929
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
3030

31-
!Filename = !llvm.ptr<i8>
31+
!Filename = !llvm.ptr
3232

3333
#DCSR = #sparse_tensor.encoding<{
3434
map = (d0, d1) -> (d0 : compressed, d1 : compressed)

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// vectorization.
3333
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
3434

35-
!Filename = !llvm.ptr<i8>
35+
!Filename = !llvm.ptr
3636

3737
#SparseMatrix = #sparse_tensor.encoding<{
3838
map = (d0, d1) -> (d0 : compressed, d1 : compressed),

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sorted_coo.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// Do the same run, but now with VLA vectorization.
3333
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
3434

35-
!Filename = !llvm.ptr<i8>
35+
!Filename = !llvm.ptr
3636

3737
#SortedCOO = #sparse_tensor.encoding<{
3838
map = (d0, d1) -> (d0 : compressed(nonunique), d1 : singleton)

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// Do the same run, but now with VLA vectorization.
3232
// RUN: %if mlir_arm_sve_tests %{ %{compile_sve} | env %{env} %{run_sve} | FileCheck %s %}
3333

34-
!Filename = !llvm.ptr<i8>
34+
!Filename = !llvm.ptr
3535

3636
#SparseMatrix = #sparse_tensor.encoding<{
3737
map = (d0, d1) -> (d0 : dense, d1 : compressed)

0 commit comments

Comments
 (0)