[LLVMbugs] [Bug 1432] Slow compilation time and unefficient code generated

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Aug 4 15:55:46 PDT 2007


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


Chris Lattner <sabre at nondot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #10 from Chris Lattner <sabre at nondot.org>  2007-08-04 17:55:46 ---
This is fixed, with a series of patches yesterday and today.  Before, with an
optimized build, mem2reg on the killer function in this bug took 18.43s, now it
takes 0.18s (102x speedup).

Previously mem2reg would insert a bunch of dead stuff:

$ opt -mem2reg qscriptcontext_p.o -dce -adce -disable-output -stats
 6433 adce    - Number of basic blocks removed
51998 adce    - Number of instructions removed
 1172 dce     - Number of insts removed

Now it doesn't:

 5507 adce    - Number of basic blocks removed
 1302 dce     - Number of insts removed

-Chris


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