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

           Summary: Extremely slow assembling and disassembling of some
                    code
           Product: libraries
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to