summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-06-19 05:47:33 +0000
committerNadav Rotem <nrotem@apple.com>2013-06-19 05:47:33 +0000
commit69466952edb7b8f4fe1341e7b7c71fe0f701fc02 (patch)
tree6ec8cdd3e8ff9783d3050f6248a54912b2107ffa /lib
parent1b11a1925e64b6467ce4abb07157d524bfbc2d51 (diff)
downloadllvm-69466952edb7b8f4fe1341e7b7c71fe0f701fc02.tar.gz
llvm-69466952edb7b8f4fe1341e7b7c71fe0f701fc02.tar.bz2
llvm-69466952edb7b8f4fe1341e7b7c71fe0f701fc02.tar.xz
Document the return value and fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Vectorize/VecUtils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Vectorize/VecUtils.h b/lib/Transforms/Vectorize/VecUtils.h
index e0d87f71d4..f76ae8413d 100644
--- a/lib/Transforms/Vectorize/VecUtils.h
+++ b/lib/Transforms/Vectorize/VecUtils.h
@@ -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.