[LLVMbugs] [Bug 2061] New: Remove the tail duplication pass for llvm-gcc & -std-compile-opts

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 18 23:26:36 PST 2008


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

           Summary: Remove the tail duplication pass for llvm-gcc & -std-
                    compile-opts
           Product: libraries
           Version: 2.2
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: code-quality
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 1622,2056


We should remove taildup from being run by default.  It causes lots of problems
(e.g. Bug 1622) and causes code growth.  We also want to do code factoring (Bug
2056), but it doesn't make a lot of sense to do code factoring while we're
still duplicating code around willy nilly.

The hard part of doing this isn't disabling the pass itself, it is doing the
performance analysis to make sure that we're not losing anything important.  If
we do lose some performance in some case that matters, we should figure out if
a limited form of tail dup is reasonable or if the optimization can be done
another way.


-- 
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