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

Cameron Zwarich zwarich at apple.com
Sat Jul 30 21:34:03 PDT 2011


On Jul 30, 2011, at 7:27 PM, Rafael Ávila de Espíndola wrote:

>> Your patch is for an "indirect branch duplication" pass, but your
>> comments above suggest that you're planning to expand it to do much
>> more general IL-level tail duplication.  Which is it?  And why?  I
>> don't think it makes sense to have 3 separate taildup passes that are
>> all doing essentially the same thing at different points in the
>> compilation process.
> 
> I agree that we should not have all of them. I do intend to remove the
> MI one if this one works.

I don't think we can remove the MI one, as there is tail duplication that is only exposed by register allocation.

Cameron



More information about the llvm-commits mailing list