[LLVMbugs] [Bug 422] [asmwriter] Asmwriter is really slow for functions with lots of values

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Aug 16 00:50:58 PDT 2004


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

rspencer at x10sys.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|[asmwriter] Asmwriter is    |[asmwriter] Asmwriter is
                   |really slow for functions   |really slow for functions
                   |without local symbols!      |with lots of values



------- Additional Comments From rspencer at x10sys.com  2004-08-16 02:50 -------
Turns out it wasn't all that complicated. The patch below corrects the problem.
Not sure how this slipped through the cracks but thanks go to Marek for finding
this and providing a test case.

http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040816/017195.html

Patch passes 100% of Feature and Regression tests.

Test Results:

/usr/bin/time llvm-dis slow.bc -f
0.53user 0.01system 0:00.54elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (770major+767minor)pagefaults 0swaps

(slow.bc is the test case attached to this report)



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