[llvm-commits] [patch] Add a pass for duplicating indirectbr at the IL level

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sat Jul 30 20:33:19 PDT 2011


>> The current taildup approach is
>> very naive.  It cannot handle important cases like duplicating past
>> conditional branches,

While this is an interesting problem and I am still interested in what
is the algorithm you have in mind, it doesn't look very common in practice.

In the WekKit interpreter, my pass is able to duplicate indirectgoto bb
into every predecessor. The IL before the pass is in

http://people.mozilla.com/~respindola/test-webkit.ll.xz

Cheers,
Rafael



More information about the llvm-commits mailing list