The pass manager is not able to schedule -loop-deletion -loop-index-split.
authorDevang Patel <dpatel@apple.com>
Thu, 14 Aug 2008 23:07:48 +0000 (23:07 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 14 Aug 2008 23:07:48 +0000 (23:07 +0000)
commit488dc6732d1504d72936e07951fe7ec39d376c2c
tree0611a3ad118ba73e89099e447868c38e89d13901
parent7a7cf6b98465fb307e1edaababd2c03c1944c9b0
The pass manager is not able to schedule -loop-deletion -loop-index-split.

The loop-deletion pass does not preserve dom frontier, which is required by
loop-index-split. When the PM checks dom frontier for loop-index-split, it has
already verified that lcssa is availalble. However, new dom frontier forces new
loop pass manager, which does not  have lcssa yet.

The PM should recheck availability of required analysis passes in such cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54805 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/PassManager.cpp
test/Other/2008-08-14-PassManager.ll [new file with mode: 0644]