[Mlir-commits] [mlir] 9ffecef - [mlir][vector][NFC] Fix typo temp -> tmp. (#87878)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Apr 7 23:34:40 PDT 2024


Author: Prashant Kumar
Date: 2024-04-08T08:34:36+02:00
New Revision: 9ffecef1c651a5c1a3f284b3257ec01ff526b49c

URL: https://github.com/llvm/llvm-project/commit/9ffecef1c651a5c1a3f284b3257ec01ff526b49c
DIFF: https://github.com/llvm/llvm-project/commit/9ffecef1c651a5c1a3f284b3257ec01ff526b49c.diff

LOG: [mlir][vector][NFC] Fix typo temp -> tmp. (#87878)

Added: 
    

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

Removed: 
    


################################################################################
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