[llvm] r264573 - [SROA] Fix typo in comment

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 04:23:22 PDT 2016


Author: hfinkel
Date: Mon Mar 28 06:23:21 2016
New Revision: 264573

URL: http://llvm.org/viewvc/llvm-project?rev=264573&view=rev
Log:
[SROA] Fix typo in comment

Modified:
    llvm/trunk/lib/Transforms/Scalar/SROA.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/SROA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SROA.cpp?rev=264573&r1=264572&r2=264573&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Mon Mar 28 06:23:21 2016
@@ -681,7 +681,7 @@ private:
       // langref in a very strict sense. If we ever want to enable
       // SROAStrictInbounds, this code should be factored cleanly into
       // PtrUseVisitor, but it is easier to experiment with SROAStrictInbounds
-      // by writing out the code here where we have tho underlying allocation
+      // by writing out the code here where we have the underlying allocation
       // size readily available.
       APInt GEPOffset = Offset;
       const DataLayout &DL = GEPI.getModule()->getDataLayout();




More information about the llvm-commits mailing list