[Mlir-commits] [mlir] [mlir][vector][NFC] Fix typo temp -> tmp. (PR #87878)
Prashant Kumar
llvmlistbot at llvm.org
Sat Apr 6 08:09:10 PDT 2024
https://github.com/pashu123 created https://github.com/llvm/llvm-project/pull/87878
None
>From 6a764f6f3407c7b13e1455b1d9e212003f601233 Mon Sep 17 00:00:00 2001
From: Prashant Kumar <pk5561 at gmail.com>
Date: Sat, 6 Apr 2024 11:08:42 -0400
Subject: [PATCH] [mlir][vector][NFC] Fix typo temp -> tmp.
---
mlir/include/mlir/Dialect/Vector/IR/VectorOps.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
index 06360bd10e5258..147bc2354977d7 100644
--- a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
+++ b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
@@ -1325,7 +1325,7 @@ def Vector_TransferReadOp :
// Update the temporary gathered slice with the individual element
%slice = memref.load %tmp : memref<vector<3x4x5xf32>> -> vector<3x4x5xf32>
%updated = vector.insert %a, %slice[%i, %j, %k] : f32 into vector<3x4x5xf32>
- memref.store %updated, %temp : memref<vector<3x4x5xf32>>
+ memref.store %updated, %tmp : memref<vector<3x4x5xf32>>
}}}
// At this point we gathered the elements from the original
// memref into the desired vector layout, stored in the `%tmp` allocation.
@@ -1348,7 +1348,7 @@ def Vector_TransferReadOp :
%slice = memref.load %tmp : memref<vector<3x4x5xf32>> -> vector<3x4x5xf32>
// Here we only store to the first element in dimension one
%updated = vector.insert %a, %slice[%i, 0, %k] : f32 into vector<3x4x5xf32>
- memref.store %updated, %temp : memref<vector<3x4x5xf32>>
+ memref.store %updated, %tmp : memref<vector<3x4x5xf32>>
}}
// At this point we gathered the elements from the original
// memref into the desired vector layout, stored in the `%tmp` allocation.
More information about the Mlir-commits
mailing list