llvm-svn: 251231
This commit is contained in:
Tobias Grosser 2015-10-25 12:05:14 +00:00
parent 5d4866b174
commit 27e19a022e
1 changed files with 1 additions and 1 deletions

View File

@ -2552,7 +2552,7 @@ void Scop::hoistInvariantLoads() {
// the region if it is also a memory access. Each ScopArrayInfo object
// that has a base pointer origin has a base pointer that is loaded and
// that it is invariant, thus it will be hoisted too. However, if there is
// no bease pointer origin we check that the base pointer is defined
// no base pointer origin we check that the base pointer is defined
// outside the region.
const ScopArrayInfo *SAI = MA->getScopArrayInfo();
while (auto *BasePtrOriginSAI = SAI->getBasePtrOriginSAI())