[PATCH] D33074: InstCombine: Allow sinking instructions with more uses in the same block.

Kyle Butt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 15:24:00 PDT 2017


iteratee updated this revision to Diff 98688.
iteratee added a comment.

Now with more Test Case!

Also, moved the compatibility test up into the Use loop, so that if the first use isn't in a compatible block, we abort.


https://reviews.llvm.org/D33074

Files:
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/sink-multiple-use.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33074.98688.patch
Type: text/x-patch
Size: 6885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170511/9449b4fc/attachment.bin>


More information about the llvm-commits mailing list