http://llvm.org/bugs/show_bug.cgi?id=2377

           Summary: SCEV should be a loop pass
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Because ScalarEvolution is a FunctionPass, it kills the LoopPassManager when it
is run.  This creates overhead because it require the re-instantiation of the
LPM, as well as forcing LCSSA to be recomputed repeatedly.  As of right now, we
compute LCSSA no less than five times in -std-compile-opts, mostly because of
this.  If SCEV were a loop pass, this could probably be reduced to one or two.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to