When testing whether one loop contains another, test this directly
authorDan Gohman <gohman@apple.com>
Fri, 13 Aug 2010 20:23:25 +0000 (20:23 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 13 Aug 2010 20:23:25 +0000 (20:23 +0000)
commit9cba97886c9b6088ac35ecc6c3122e2c7665d6da
tree53ab64bff4ab3ea01e96c776788fc380ca80950a
parent9f1fb42b7e6260bcc535cfd50df60b35e17672f8
When testing whether one loop contains another, test this directly
rather than testing whether the loop contains the other's header.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111039 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp