forked from OSchip/llvm-project
[LAA] Add missing debug output after r239285
r239285 ([LoopAccessAnalysis] Teach LAA to check the memory dependence between strided accesses.) introduced a new case under MemoryDepChecker::isDependent. We normally have debug output for each case. llvm-svn: 241707
This commit is contained in:
parent
c3177f2ed4
commit
0131a5693a
|
@ -1028,8 +1028,10 @@ MemoryDepChecker::isDependent(const MemAccessInfo &A, unsigned AIdx,
|
|||
|
||||
unsigned Stride = std::abs(StrideAPtr);
|
||||
if (Stride > 1 &&
|
||||
areStridedAccessesIndependent(Distance, Stride, TypeByteSize))
|
||||
areStridedAccessesIndependent(Distance, Stride, TypeByteSize)) {
|
||||
DEBUG(dbgs() << "LAA: Strided accesses are independent\n");
|
||||
return Dependence::NoDep;
|
||||
}
|
||||
|
||||
// Bail out early if passed-in parameters make vectorization not feasible.
|
||||
unsigned ForcedFactor = (VectorizerParams::VectorizationFactor ?
|
||||
|
|
Loading…
Reference in New Issue