[Mlir-commits] [mlir] 19f67ee - [mlir][amx] fix some whitespace issues in AMX tests
Aart Bik
llvmlistbot at llvm.org
Wed Jan 26 16:00:11 PST 2022
Author: Aart Bik
Date: 2022-01-26T16:00:03-08:00
New Revision: 19f67ee29e06dc9bb65ac037a73bcd6d57e1e2e1
URL: https://github.com/llvm/llvm-project/commit/19f67ee29e06dc9bb65ac037a73bcd6d57e1e2e1
DIFF: https://github.com/llvm/llvm-project/commit/19f67ee29e06dc9bb65ac037a73bcd6d57e1e2e1.diff
LOG: [mlir][amx] fix some whitespace issues in AMX tests
Reviewed By: dcaballe
Differential Revision: https://reviews.llvm.org/D118289
Added:
Modified:
mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
Removed:
################################################################################
diff --git a/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir b/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
index 3d80ca52e75c7..c9a80e57e1ea3 100644
--- a/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
+++ b/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
@@ -8,7 +8,7 @@
// Multiply into zeroed destination.
func @kernel1(%arg0: memref<2x4xbf16>,
%arg1: memref<2x4xbf16>,
- %arg2: memref<2x2xf32>) {
+ %arg2: memref<2x2xf32>) {
%0 = arith.constant 0 : index
%1 = amx.tile_load %arg0[%0, %0] : memref<2x4xbf16> into vector<2x4xbf16>
%2 = amx.tile_load %arg1[%0, %0] : memref<2x4xbf16> into vector<2x4xbf16>
@@ -21,7 +21,7 @@ func @kernel1(%arg0: memref<2x4xbf16>,
// Multiply and update into destination.
func @kernel2(%arg0: memref<2x4xbf16>,
%arg1: memref<2x4xbf16>,
- %arg2: memref<2x2xf32>) {
+ %arg2: memref<2x2xf32>) {
%0 = arith.constant 0 : index
%1 = amx.tile_load %arg0[%0, %0] : memref<2x4xbf16> into vector<2x4xbf16>
%2 = amx.tile_load %arg1[%0, %0] : memref<2x4xbf16> into vector<2x4xbf16>
diff --git a/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir b/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
index 1f61c7dc98b46..7bc400b1abb33 100644
--- a/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
+++ b/mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
@@ -8,7 +8,7 @@
// Multiply into zeroed destination.
func @kernel1(%arg0: memref<2x8xi8>,
%arg1: memref<2x8xi8>,
- %arg2: memref<2x2xi32>) {
+ %arg2: memref<2x2xi32>) {
%0 = arith.constant 0 : index
%1 = amx.tile_load %arg0[%0, %0] : memref<2x8xi8> into vector<2x8xi8>
%2 = amx.tile_load %arg1[%0, %0] : memref<2x8xi8> into vector<2x8xi8>
@@ -21,7 +21,7 @@ func @kernel1(%arg0: memref<2x8xi8>,
// Multiply and update into destination.
func @kernel2(%arg0: memref<2x8xi8>,
%arg1: memref<2x8xi8>,
- %arg2: memref<2x2xi32>) {
+ %arg2: memref<2x2xi32>) {
%0 = arith.constant 0 : index
%1 = amx.tile_load %arg0[%0, %0] : memref<2x8xi8> into vector<2x8xi8>
%2 = amx.tile_load %arg1[%0, %0] : memref<2x8xi8> into vector<2x8xi8>
More information about the Mlir-commits
mailing list