[PATCH]: Sink multiple instructions per iteration in InstCombine

Aditya Nandakumar aditya_nandakumar at apple.com
Mon Jun 23 16:56:17 PDT 2014


Resending with Subject changed. 
> On Jun 23, 2014, at 1:57 PM, Aditya Nandakumar <aditya_nandakumar at apple.com> wrote:
> 
> Hi All
> 
> I want to make a small optimization for instcombine. While sinking instructions (with single use) to the use block, also check if any other instructions which are used in the current instruction (operands) can be sunk.
> 
> This speeds up InstCombine time in several cases as previously only one instruction would be sunk per iteration.
> 
> Please review
> 
> Thanks
> Aditya
> <OSouceInstCombineSinkMultiple.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list