Meinersbur added a comment. Could you please describe what the code is doing not only in the commit message, but also as source code comment? Why is ScopDetection involved at all? Shouldn't it be ScopInfo alone which decides what that Scop's parameters are? http://reviews.llvm.org/D13338