[LLVMdev] asm-verbose (on by default) is really, really slow

David Meyer pdox at google.com
Sun Dec 12 05:37:49 PST 2010


$ time ./llc -march=x86 -mcpu=pentium4 -filetype=asm eon.bc -o eon.s
-asm-verbose=false

real	0m17.855s
user	0m17.480s
sys	0m0.380s

$ time ./llc -march=x86 -mcpu=pentium4 -filetype=asm eon.bc -o eon.s

real	0m53.304s
user	0m52.880s
sys	0m0.420s

Maybe this should be off by default?

- David Meyer



More information about the llvm-dev mailing list