mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-12 13:24:29 +00:00
[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
This commit is contained in:
@ -225,6 +225,8 @@ public:
|
||||
return RecordInterestingDependences ? &InterestingDependences : nullptr;
|
||||
}
|
||||
|
||||
void clearInterestingDependences() { InterestingDependences.clear(); }
|
||||
|
||||
/// \brief The vector of memory access instructions. The indices are used as
|
||||
/// instruction identifiers in the Dependence class.
|
||||
const SmallVectorImpl<Instruction *> &getMemoryInstructions() const {
|
||||
|
Reference in New Issue
Block a user