diff options
| author | Nadav Rotem <nrotem@apple.com> | 2013-06-19 05:47:33 +0000 |
|---|---|---|
| committer | Nadav Rotem <nrotem@apple.com> | 2013-06-19 05:47:33 +0000 |
| commit | 4f3224f3edb5f41b2d61722e6fb1953e33e335a9 (patch) | |
| tree | 57e8a5279576c4d1dead9f6144656a2e80d11521 /llvm | |
| parent | 8359214427809679c9f4a76994e3680c5b8552df (diff) | |
| download | bcm5719-llvm-4f3224f3edb5f41b2d61722e6fb1953e33e335a9.tar.gz bcm5719-llvm-4f3224f3edb5f41b2d61722e6fb1953e33e335a9.zip | |
Document the return value and fix a typo.
llvm-svn: 184281
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/VecUtils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/VecUtils.h b/llvm/lib/Transforms/Vectorize/VecUtils.h index e0d87f71d41..f76ae8413d7 100644 --- a/llvm/lib/Transforms/Vectorize/VecUtils.h +++ b/llvm/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. |

