summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2015-04-24 00:10:27 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2015-04-24 00:10:27 +0000
commitd98330c42498582581784ffbc4dd39d2c7f100cb (patch)
tree1cd5b88b2cced9985234a9c3929743b58579be3a
parentf2a08dcaf6ed854aad4dba52d32c464550ec5e52 (diff)
downloadbcm5719-llvm-d98330c42498582581784ffbc4dd39d2c7f100cb.tar.gz
bcm5719-llvm-d98330c42498582581784ffbc4dd39d2c7f100cb.zip
Fix a couple of typos in comments.
llvm-svn: 235674
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 5e5de46f006..cdd3c680e8d 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -280,12 +280,12 @@ protected:
/// originated from one scalar instruction.
typedef SmallVector<Value*, 2> VectorParts;
- // When we if-convert we need create edge masks. We have to cache values so
- // that we don't end up with exponential recursion/IR.
+ // When we if-convert we need to create edge masks. We have to cache values
+ // so that we don't end up with exponential recursion/IR.
typedef DenseMap<std::pair<BasicBlock*, BasicBlock*>,
VectorParts> EdgeMaskCache;
- /// \brief Add checks for strides that where assumed to be 1.
+ /// \brief Add checks for strides that were assumed to be 1.
///
/// Returns the last check instruction and the first check instruction in the
/// pair as (first, last).
OpenPOWER on IntegriCloud