[ScopDetection] Compute the maximal loop depth correctly
commit3fd907457cd3018edfe410a76fa7f27e8f2eddae
authorTobias Grosser <tobias@grosser.es>
Fri, 17 Feb 2017 08:08:54 +0000 (17 08:08 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 17 Feb 2017 08:08:54 +0000 (17 08:08 +0000)
tree6750842632427e84182e241775705ce45ec8b964
parentf0cabd526d6b7cd2a3e53289c4849b73a9368605
[ScopDetection] Compute the maximal loop depth correctly

Before this change, we obtained loop depth numbers that were deeper then the
actual loop depth.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@295430 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScopDetection.cpp
test/ScopDetect/statistics.ll [new file with mode: 0644]