[llvm] r177680 - Always forward 'resume' instructions to the outter landing pad.

Duncan Sands baldrick at free.fr
Fri Mar 22 13:30:03 PDT 2013


>> Instcombine will clean it all up...  It knows all this and more.  I think that
>> doing some simplification in the inliner would be advantageous if it allowed you
>> to avoid inlining some basic blocks.  But I don't think it ever does: it is
>> basic blocks in the function being inlined into that can become unreachable, and
>> I don't think you have a good way of detecting and dropping those in the
>> inliner, but I could be wrong.  Is instcombine failing to clean stuff up?
>>
>
> Okay. I'll concat the clauses. Thanks!

Thanks Bill.  Let me know if instcombine misses anything and I will improve it.

Ciao, Duncan.



More information about the llvm-commits mailing list