[PATCH] D80087: Fixed a typo in the comment for allocateBuffer()

Lei Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 11:55:11 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3c4ef7455575: Fixed a typo in the comment for allocateBuffer() (authored by shalva97, committed by antiagainst).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80087/new/

https://reviews.llvm.org/D80087

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


Index: mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
===================================================================
--- mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
+++ mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
@@ -1675,7 +1675,7 @@
 
   /// 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,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80087.264693.patch
Type: text/x-patch
Size: 791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200518/5b68c139/attachment.bin>


More information about the llvm-commits mailing list