[LLVMbugs] [Bug 224] [asmparser] Really slow parsing of types with complex upreferences

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 9 13:15:15 PST 2004


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

sabre at nondot.org changed:

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



------- Additional Comments From sabre at nondot.org  2004-02-09 15:15 -------
At this point, I'm going to declare this bug fixed.  The testcase now takes ~5s
to parse instead of 60s, and most of that time is spend in the lexer and the
bison machinery (it's a 10M .ll file after all).  The profile is basically flat
now, with no big hotspot.

Fixing this bug required improvments in the upreference handling code in the
asmparser, the type resolution code in the VMCore library, and value resolution
code in the asmparser.  These should all be useful to LLVM "in general", as
opposed to this one special case.

-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