Skip to content

Commit 99c05b2

Browse files
[mlir] Remove -finalizing-bufferize from tests (#111177)
This pass is not needed when the IR was bufferized with `-one-shot-bufferize`.
1 parent dd04cf0 commit 99c05b2

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

mlir/test/Integration/Dialect/Linalg/CPU/test-collapse-tensor.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s \
22
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
3-
// RUN: -finalizing-bufferize -buffer-deallocation-pipeline -convert-bufferization-to-memref \
3+
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
44
// RUN: -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-cf-to-llvm -convert-arith-to-llvm \
55
// RUN: -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
66
// RUN: mlir-cpu-runner -e main -entry-point-result=void \

mlir/test/Integration/Dialect/Linalg/CPU/test-expand-tensor.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s \
22
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
3-
// RUN: -finalizing-bufferize -buffer-deallocation-pipeline -convert-bufferization-to-memref \
3+
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
44
// RUN: -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-cf-to-llvm -convert-arith-to-llvm \
55
// RUN: -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
66
// RUN: mlir-cpu-runner -e main -entry-point-result=void \

mlir/test/Integration/Dialect/Linalg/CPU/test-padtensor.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s -test-linalg-transform-patterns=test-linalg-to-vector-patterns \
22
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
3-
// RUN: -finalizing-bufferize -buffer-deallocation-pipeline -convert-bufferization-to-memref \
3+
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
44
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
55
// RUN: -lower-affine -convert-arith-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
66
// RUN: mlir-cpu-runner -e main -entry-point-result=void \

mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s \
22
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
3-
// RUN: -finalizing-bufferize -buffer-deallocation-pipeline -convert-bufferization-to-memref \
3+
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
44
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
55
// RUN: -lower-affine -convert-arith-to-llvm --finalize-memref-to-llvm \
66
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \

mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s \
22
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
3-
// RUN: -finalizing-bufferize -buffer-deallocation-pipeline -convert-bufferization-to-memref \
3+
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
44
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
55
// RUN: -lower-affine -convert-arith-to-llvm --finalize-memref-to-llvm \
66
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \

mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-e2e.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s \
22
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
3-
// RUN: -finalizing-bufferize -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops \
3+
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops \
44
// RUN: -convert-arith-to-llvm -convert-scf-to-cf -convert-cf-to-llvm --finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
55
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
66
// RUN: -shared-libs=%mlir_runner_utils \

mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// UNSUPPORTED: asan
22
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule \
33
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
4-
// RUN: -finalizing-bufferize -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops -convert-scf-to-cf \
4+
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops -convert-scf-to-cf \
55
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
66
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
77
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
88
// RUN: | FileCheck %s
99

1010
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule \
1111
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
12-
// RUN: -finalizing-bufferize -convert-linalg-to-loops -convert-scf-to-cf -convert-scf-to-cf \
12+
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -convert-scf-to-cf \
1313
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
1414
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
1515
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \

0 commit comments

Comments
 (0)