[LoopAccesses] If shouldRetryWithRuntimeCheck, reset InterestingDependences
authorAdam Nemet <anemet@apple.com>
Mon, 18 May 2015 15:37:03 +0000 (15:37 +0000)
committerAdam Nemet <anemet@apple.com>
Mon, 18 May 2015 15:37:03 +0000 (15:37 +0000)
commita4c8c9292bf6c01c03eb6b2b8479af75c513ffcc
tree4e444baa1d2925c3ef65ebcacb4ce11b7483fe91
parent2f2bbe4ced79a0aa924e4c940c04a0ecad3bf471
[LoopAccesses] If shouldRetryWithRuntimeCheck, reset InterestingDependences

When dependence analysis encounters a non-constant distance between
memory accesses it aborts the analysis and falls back to run-time checks
only.  In this case we weren't resetting the array of dependences.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237574 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll [new file with mode: 0644]