Skip to content

Commit dab72a3

Browse files
[mlir][bufferize] Clean up remaining references to tensor-constant-bufferize
1 parent d1aed48 commit dab72a3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

mlir/benchmark/python/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def setup_passes(mlir_module):
2828
f"(linalg-bufferize,convert-linalg-to-loops,convert-vector-to-scf),"
2929
f"convert-scf-to-std,"
3030
f"func-bufferize,"
31-
f"tensor-constant-bufferize,"
31+
f"arith-bufferize,"
3232
f"builtin.func(tensor-bufferize,std-bufferize,finalizing-bufferize),"
3333
f"convert-vector-to-llvm"
3434
f"{{reassociate-fp-reductions=1 enable-index-optimizations=1}},"

mlir/docs/Bufferization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ which helps with this in general.
235235
subdivisions.
236236

237237
- `arith-bufferize`
238-
([code](https://github.com/llvm/llvm-project/blob/bc8acf2ce8ad6e8c9b1d97b2e02d3f4ad26e1d9d/mlir/lib/Dialect/StandardOps/Transforms/TensorConstantBufferize.cpp#L1),
239-
[test](https://github.com/llvm/llvm-project/blob/bc8acf2ce8ad6e8c9b1d97b2e02d3f4ad26e1d9d/mlir/test/Dialect/Standard/tensor-constant-bufferize.mlir#L1))
238+
([code](https://github.com/llvm/llvm-project/blob/446425f89871aa7849c5615e6b695ebd10c9b34a/mlir/lib/Dialect/Arithmetic/Transforms/Bufferize.cpp),
239+
[test](https://github.com/llvm/llvm-project/blob/d1aed486efc6d35a81ca4acbabb4203c4b91cda9/mlir/test/Dialect/Arithmetic/bufferize.mlir))
240240

241-
- Bufferizes only `arith.constant` ops of `tensor` type.
241+
- Bufferizes only `arith` ops of `tensor` type.
242242
- This is an example of setting up the legality so that only a subset of
243243
`arith.constant` ops get bufferized.
244244
- This is an example of a pass that is not split along dialect

mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: mlir-opt %s -convert-vector-to-scf -lower-affine -convert-scf-to-std \
2-
// RUN: -tensor-constant-bufferize -convert-vector-to-llvm="enable-amx" \
2+
// RUN: -arith-bufferize -convert-vector-to-llvm="enable-amx" \
33
// RUN: -convert-memref-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts | \
44
// RUN: mlir-translate -mlir-to-llvmir | \
55
// RUN: %lli --entry-function=entry --mattr="+amx-tile,+amx-int8,+amx-bf16" \

mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: mlir-opt %s -convert-vector-to-scf -lower-affine -convert-scf-to-std \
2-
// RUN: -tensor-constant-bufferize -convert-vector-to-llvm="enable-amx" \
2+
// RUN: -arith-bufferize -convert-vector-to-llvm="enable-amx" \
33
// RUN: -convert-memref-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts | \
44
// RUN: mlir-translate -mlir-to-llvmir | \
55
// RUN: %lli --entry-function=entry --mattr="+amx-tile,+amx-int8,+amx-bf16" \

0 commit comments

Comments
 (0)