[Mlir-commits] [mlir] 3c4ef74 - Fixed a typo in the comment for allocateBuffer()

Lei Zhang llvmlistbot at llvm.org
Mon May 18 11:42:05 PDT 2020


Author: George
Date: 2020-05-18T14:41:57-04:00
New Revision: 3c4ef745557506a51c5fc6db3d1cabeb8a133923

URL: https://github.com/llvm/llvm-project/commit/3c4ef745557506a51c5fc6db3d1cabeb8a133923
DIFF: https://github.com/llvm/llvm-project/commit/3c4ef745557506a51c5fc6db3d1cabeb8a133923.diff

LOG: Fixed a typo in the comment for allocateBuffer()

Differential Revision: https://reviews.llvm.org/D80087

Added: 
    

Modified: 
    mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
index 8218976418c5..cbe6da31addf 100644
--- a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
+++ b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
@@ -1675,7 +1675,7 @@ struct AllocLikeOpLowering : public ConvertOpToLLVMPattern<AllocLikeOp> {
 
   /// Allocates the underlying buffer using the right call. `allocatedBytePtr`
   /// is set to null for stack allocations. `accessAlignment` is set if
-  /// alignment is neeeded post allocation (for eg. in conjunction with malloc).
+  /// alignment is needed post allocation (for eg. in conjunction with malloc).
   Value allocateBuffer(Location loc, Value cumulativeSize, Operation *op,
                        MemRefType memRefType, Value one, Value &accessAlignment,
                        Value &allocatedBytePtr,


        


More information about the Mlir-commits mailing list