[llvm] r184281 - Document the return value and fix a typo.
Nadav Rotem
nrotem at apple.com
Tue Jun 18 22:47:33 PDT 2013
Author: nadav
Date: Wed Jun 19 00:47:33 2013
New Revision: 184281
URL: http://llvm.org/viewvc/llvm-project?rev=184281&view=rev
Log:
Document the return value and fix a typo.
Modified:
llvm/trunk/lib/Transforms/Vectorize/VecUtils.h
Modified: llvm/trunk/lib/Transforms/Vectorize/VecUtils.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/VecUtils.h?rev=184281&r1=184280&r2=184281&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/VecUtils.h (original)
+++ llvm/trunk/lib/Transforms/Vectorize/VecUtils.h Wed Jun 19 00:47:33 2013
@@ -72,6 +72,7 @@ struct BoUpSLP {
bool vectorizeStores(ArrayRef<StoreInst *> Stores, int costThreshold);
/// \brief Vectorize a group of scalars into a vector tree.
+ /// \returns the vectorized value.
Value *vectorizeArith(ArrayRef<Value *> Operands);
/// \returns the list of new instructions that were added in order to collect
@@ -117,7 +118,7 @@ private:
/// Only consider the first \p VF elements.
int getFirstUserIndex(ArrayRef<Value *> VL, unsigned VF);
- /// \returns the instruction \p I or \p Jt hat appears last in the BB .
+ /// \returns the instruction \p I or \p J that appears last in the BB .
int getLastIndex(Instruction *I, Instruction *J);
/// \returns the insertion point for \p Index.
More information about the llvm-commits
mailing list