[llvm-commits] [llvm] r132882 - in /llvm/trunk: lib/CodeGen/AsmPrinter/AsmPrinter.cpp lib/Target/X86/X86InstrInfo.cpp test/CodeGen/Thumb2/machine-licm.ll

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sun Jun 12 07:43:25 PDT 2011


> It think it's OK. Here is what I measure on 403.gcc with llc -O0 -time-passes:
>
> Before:
>     0.6719 ( 12.9%)   0.0624 ( 14.7%)   0.7343 ( 13.0%)   0.7345 ( 13.0%)  X86 AT&T-Style Assembly Printer
> After:
>     0.6873 ( 13.1%)   0.0628 ( 14.8%)   0.7501 ( 13.3%)   0.7501 ( 13.3%)  X86 AT&T-Style Assembly Printer

If needed, we could try adding a dedicated backend callback (with a 
default implementation).

What I found really scary about it is that grep found 29 uses of 
succ_size in lib. In most cases I think it might just disable 
optimizations when they see a 3 instead of a 2, but it is hard to be sure.

> Thanks,
> /jakob
>

Cheers,
Rafael



More information about the llvm-commits mailing list