diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-05-29 03:13:41 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-05-29 03:13:41 +0000 |
commit | 51c292a3605a0cf7be24e4b7dc40c2b8a740006c (patch) | |
tree | eb82b24fab95db90992f0317fac7ed6b77c22282 | |
parent | 61212bcaff0629b03feeebd649078a91e6f13a53 (diff) | |
download | external_llvm-51c292a3605a0cf7be24e4b7dc40c2b8a740006c.zip external_llvm-51c292a3605a0cf7be24e4b7dc40c2b8a740006c.tar.gz external_llvm-51c292a3605a0cf7be24e4b7dc40c2b8a740006c.tar.bz2 |
Whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182819 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 3f664de..41a22f9 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -833,11 +833,11 @@ private: void getHints(const Loop *L) { if (!LoopID) return; - + // First operand should refer to the loop id itself. assert(LoopID->getNumOperands() > 0 && "requires at least one operand"); assert(LoopID->getOperand(0) == LoopID && "invalid loop id"); - + for (unsigned i = 1, ie = LoopID->getNumOperands(); i < ie; ++i) { const MDString *S = 0; SmallVector<Value*, 4> Args; @@ -864,7 +864,7 @@ private: continue; // Remove the prefix. Hint = Hint.substr(Prefix().size(), StringRef::npos); - + if (Args.size() == 1) getHint(Hint, Args[0]); } @@ -2029,7 +2029,7 @@ InnerLoopVectorizer::vectorizeLoop(LoopVectorizationLegality *Legal) { Value *LoopVal = RdxPhi->getIncomingValueForBlock(Latch); VectorParts &Val = getVectorValue(LoopVal); for (unsigned part = 0; part < UF; ++part) { - // Make sure to add the reduction stat value only to the + // Make sure to add the reduction stat value only to the // first unroll part. Value *StartVal = (part == 0) ? VectorStart : Identity; cast<PHINode>(VecRdxPhi[part])->addIncoming(StartVal, VecPreheader); |