[LLVMbugs] [Bug 422] NEW: [asmwriter] Asmwriter is really slow for functions without local symbols!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Aug 15 14:37:36 PDT 2004


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

           Summary: [asmwriter] Asmwriter is really slow for functions
                    without local symbols!
           Product: libraries
           Version: 1.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: rspencer at x10sys.com
        ReportedBy: sabre at nondot.org


It looks like one of the changes to the asmwriter made it recompute the
slotmachine for every value that needs a slot number.  If that is ALL values, we
spend lots of time computing SlotTable objects, only to throw them away.

The AsmWriter used to create the slot table once and use it.  The fact that it
does not anymore is a major regression from LLVM 1.2.

I'm attaching a testcase (from Marek Materzok) that takes minutes to disassemble.

-Chris



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