File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlir/include/mlir/Dialect/Vector/IR Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1325,7 +1325,7 @@ def Vector_TransferReadOp :
1325
1325
// Update the temporary gathered slice with the individual element
1326
1326
%slice = memref.load %tmp : memref<vector<3x4x5xf32>> -> vector<3x4x5xf32>
1327
1327
%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>>
1329
1329
}}}
1330
1330
// At this point we gathered the elements from the original
1331
1331
// memref into the desired vector layout, stored in the `%tmp` allocation.
@@ -1348,7 +1348,7 @@ def Vector_TransferReadOp :
1348
1348
%slice = memref.load %tmp : memref<vector<3x4x5xf32>> -> vector<3x4x5xf32>
1349
1349
// Here we only store to the first element in dimension one
1350
1350
%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>>
1352
1352
}}
1353
1353
// At this point we gathered the elements from the original
1354
1354
// memref into the desired vector layout, stored in the `%tmp` allocation.
You can’t perform that action at this time.
0 commit comments