[LLVMbugs] [Bug 320] NEW: [passmanager] Infinite loop when a transitive pass requires a transitive pass

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Apr 19 20:56:38 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=320

           Summary: [passmanager] Infinite loop when a transitive pass
                    requires a transitive pass
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: brukman+bugs at uiuc.edu


A pass with code that calls addRequiredTransitive<T>() on a pass T which also
calls getRequiredTransitive<U>() from within getAnalysisUsage() will cause the
PassManager to go into an infinite loop. 

Fixing this will allow passes such as Load Value Numbering to be sped up a great
deal if we can keep state in such analysis passes.

This is not related to bug 36: that's about new features, this is just a bug.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list