llvm.org GIT mirror llvm / e3ab7cc
LoopVectorize: Fix comments No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181862 91177308-0d34-0410-b5e6-96231b3b80d8 Arnold Schwaighofer 7 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
319319
320320 /// \brief Check if conditionally executed loads are hoistable.
321321 ///
322 /// This class has two functions. isHoistableLoad and canHoistAllLoads.
322 /// This class has two functions: isHoistableLoad and canHoistAllLoads.
323323 /// isHoistableLoad should be called on all load instructions that are executed
324324 /// conditionally. After all conditional loads are processed, the client should
325 /// call canHoistAllLoads to determine if all of the conditional execute loads
326 /// have an unconditional memory access in the loop.
325 /// call canHoistAllLoads to determine if all of the conditional executed loads
326 /// have an unconditional memory access to the same memory address in the loop.
327327 class LoadHoisting {
328328 typedef SmallPtrSet MemorySet;
329329
33533353 if (it->mayReadFromMemory() && !LoadSpeculation.isHoistableLoad(it))
33543354 return false;
33553355
3356 // We predicate stores at the moment.
3356 // We don't predicate stores at the moment.
33573357 if (it->mayWriteToMemory() || it->mayThrow())
33583358 return false;
33593359