aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant Kumar <pk5561@gmail.com>2024-04-08 12:04:36 +0530
committerGitHub <noreply@github.com>2024-04-08 08:34:36 +0200
commit9ffecef1c651a5c1a3f284b3257ec01ff526b49c (patch)
tree4b4573bb656678d0bbccdc1ef35ec1792d591419
parentfdd023612ce401d7a1a310fcad2477d19e1d0a5e (diff)
downloadllvm-9ffecef1c651a5c1a3f284b3257ec01ff526b49c.zip
llvm-9ffecef1c651a5c1a3f284b3257ec01ff526b49c.tar.gz
llvm-9ffecef1c651a5c1a3f284b3257ec01ff526b49c.tar.bz2
[mlir][vector][NFC] Fix typo temp -> tmp. (#87878)
-rw-r--r--mlir/include/mlir/Dialect/Vector/IR/VectorOps.td4
1 files 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 06360bd..147bc23 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.