[LLVMbugs] [Bug 8281] New: Extremely slow assembling and disassembling of some code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Oct 2 12:59:36 PDT 2010


           Summary: Extremely slow assembling and disassembling of some
           Product: libraries
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: llvm at henning-thielemann.de
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=5550)
 --> (http://llvm.org/bugs/attachment.cgi?id=5550)
disassembling this bitcode is awfully slow

Recently I wanted to move from LLVM-2.6 to LLVM-2.7. I encountered that some
LLVM code I generated through the Haskell/C interface to LLVM takes ages to
arrive in a bitcode file. This problem did not exist in LLVM-2.6. Now I found
that also assembling and disassembling that bitcode file is very slow.

$ time llvm-dis -o generator000-dis.ll generator000.bc
real    1m56.906s
user    1m56.511s
sys     0m0.300s

$ time llvm-as generator000-dis.ll 
real    2m1.090s
user    2m0.584s
sys     0m0.304s

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