[LLVMbugs] [Bug 1868] PassManager does not reschedule invalidated passes

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 17 13:31:31 PST 2007


Devang Patel <dpatel at apple.com> changed:

           What    |Removed                     |Added
                 CC|                            |dpatel at apple.com
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Devang Patel <dpatel at apple.com>  2007-12-17 15:31:30 ---
PassManager schedules Pass1 for BottomPass.
However it is invalidated when PassManager scheduled Pass2. 

PassManager does not dependency analysis of required passes to ensure that they
do not step on each other's foot. 

You have two workarounds:

1) Pass2 preserves Pass1
2) BottomPass requires Pass2 before Pass1.

At the moment this is IMO not to be fixed because it may add lots of
unnecessary complexity in PassManager implementation for little gain.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list