[llvm-commits] Enable early dup for small bb, take2

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Mon Jun 13 07:22:43 PDT 2011


> The size increase in clang is coming mostly from CGClass.o. With the
> patch we decide to duplicate a block with one instruction into its only
> predecessor (and remove the original one). Everything goes fine until
> branch folding decides to create many copies of a block with 4
> instructions in it. I haven't debugged what causes branch folding to
> change its mind.

I added the testcase and logs to

http://people.mozilla.org/~respindola/CGClass.ii.bz2
http://people.mozilla.org/~respindola/patch.log.bz2
http://people.mozilla.org/~respindola/trunk.log.bz2

Cheers,
Rafael




More information about the llvm-commits mailing list