[Review]: Sink multiple instructions per iteration in InstCombine

Aditya Nandakumar aditya_nandakumar at apple.com
Mon Jun 23 13:57:55 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OSouceInstCombineSinkMultiple.patch
Type: application/octet-stream
Size: 4121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140623/7f1ced20/attachment.obj>


More information about the llvm-commits mailing list