diff options
| author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-05-15 02:02:45 +0000 |
|---|---|---|
| committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-05-15 02:02:45 +0000 |
| commit | 09cee97270bf54ea880f148343e097d0dda72a1d (patch) | |
| tree | 60b216449131c9fb5209723b3ef9e1f54cf73ca0 /llvm/lib/Transforms | |
| parent | 4fec90371753ccffcbd0f65d2918a9b0233c0049 (diff) | |
| download | bcm5719-llvm-09cee97270bf54ea880f148343e097d0dda72a1d.tar.gz bcm5719-llvm-09cee97270bf54ea880f148343e097d0dda72a1d.zip | |
LoopVectorize: Fix comments
No functionality change.
llvm-svn: 181862
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index a8e1f4579c7..58a1a746555 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -320,11 +320,11 @@ private: /// \brief Check if conditionally executed loads are hoistable. /// -/// This class has two functions. isHoistableLoad and canHoistAllLoads. +/// This class has two functions: isHoistableLoad and canHoistAllLoads. /// isHoistableLoad should be called on all load instructions that are executed /// conditionally. After all conditional loads are processed, the client should -/// call canHoistAllLoads to determine if all of the conditional execute loads -/// have an unconditional memory access in the loop. +/// call canHoistAllLoads to determine if all of the conditional executed loads +/// have an unconditional memory access to the same memory address in the loop. class LoadHoisting { typedef SmallPtrSet<Value *, 8> MemorySet; @@ -3354,7 +3354,7 @@ bool LoopVectorizationLegality::blockCanBePredicated(BasicBlock *BB) { if (it->mayReadFromMemory() && !LoadSpeculation.isHoistableLoad(it)) return false; - // We predicate stores at the moment. + // We don't predicate stores at the moment. if (it->mayWriteToMemory() || it->mayThrow()) return false; |

