Skip to content

Commit 9ffecef

Browse files
authored
[mlir][vector][NFC] Fix typo temp -> tmp. (#87878)
1 parent fdd0236 commit 9ffecef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/Vector/IR/VectorOps.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ def Vector_TransferReadOp :
13251325
// Update the temporary gathered slice with the individual element
13261326
%slice = memref.load %tmp : memref<vector<3x4x5xf32>> -> vector<3x4x5xf32>
13271327
%updated = vector.insert %a, %slice[%i, %j, %k] : f32 into vector<3x4x5xf32>
1328-
memref.store %updated, %temp : memref<vector<3x4x5xf32>>
1328+
memref.store %updated, %tmp : memref<vector<3x4x5xf32>>
13291329
}}}
13301330
// At this point we gathered the elements from the original
13311331
// memref into the desired vector layout, stored in the `%tmp` allocation.
@@ -1348,7 +1348,7 @@ def Vector_TransferReadOp :
13481348
%slice = memref.load %tmp : memref<vector<3x4x5xf32>> -> vector<3x4x5xf32>
13491349
// Here we only store to the first element in dimension one
13501350
%updated = vector.insert %a, %slice[%i, 0, %k] : f32 into vector<3x4x5xf32>
1351-
memref.store %updated, %temp : memref<vector<3x4x5xf32>>
1351+
memref.store %updated, %tmp : memref<vector<3x4x5xf32>>
13521352
}}
13531353
// At this point we gathered the elements from the original
13541354
// memref into the desired vector layout, stored in the `%tmp` allocation.

0 commit comments

Comments
 (0)