summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-08-05 11:31:02 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-08-05 11:31:02 +0000
commitd82222fc1b9175ed0b3c5077e53d559c138c545b (patch)
treee16ddd328f5e19ffe022a47d3cc58272723de477 /clang/lib/Basic/VirtualFileSystem.cpp
parent75127944b6faa99a5ae216d6ba4c6f82c9f84a13 (diff)
downloadbcm5719-llvm-d82222fc1b9175ed0b3c5077e53d559c138c545b.tar.gz
bcm5719-llvm-d82222fc1b9175ed0b3c5077e53d559c138c545b.zip
[DependenceInfo] Reset operations counter when setting limit.
When entering the dependence computation and the max_operations is set, the operations counter may have already exceeded the counter, thus aborting any ISL computation from the start. The counter is reset at the end of the dependence calculation such that a follow-up recomputation might succeed, ie. the success of the first dependence calculation depends on unrelated ISL operations that happened before, giving it a disadvantage to the following calculations. This patch resets the operations counter at the beginning of the dependence recalculation to not depend on previous actions. Otherwise additional preprocessing of the Scop that aims to improve its schedulability (eg. DeLICM) do have the effect that DependenceInfo and hence the scheduling fail more likely, contraproductive to the goal of said preprocessing. llvm-svn: 277810
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud