diff --git a/lib/Transforms/Vectorize/VecUtils.h b/lib/Transforms/Vectorize/VecUtils.h index e0d87f71d41..f76ae8413d7 100644 --- a/lib/Transforms/Vectorize/VecUtils.h +++ b/lib/Transforms/Vectorize/VecUtils.h @@ -72,6 +72,7 @@ struct BoUpSLP { bool vectorizeStores(ArrayRef Stores, int costThreshold); /// \brief Vectorize a group of scalars into a vector tree. + /// \returns the vectorized value. Value *vectorizeArith(ArrayRef 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 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.