[PATCH] D41860: [CallSiteSplitting] Support splitting of blocks with instrs before call.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 13:00:01 PST 2018


fhahn updated this revision to Diff 130951.
fhahn added a comment.

Update code to insert new PHIs at the beginning of TailBB and delete instructions up to the original first instruction. This way, remove unnecessary existing PHI nodes, while not deleting newly created ones.

I hope I can post benchmark numbers with the new version of the patch tomorrow.


https://reviews.llvm.org/D41860

Files:
  lib/Transforms/Scalar/CallSiteSplitting.cpp
  test/Transforms/CallSiteSplitting/callsite-instructions-before-call.ll
  test/Transforms/CallSiteSplitting/callsite-no-or-structure.ll
  test/Transforms/CallSiteSplitting/callsite-split-debug.ll
  test/Transforms/CallSiteSplitting/callsite-split.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41860.130951.patch
Type: text/x-patch
Size: 16819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180122/5ba2dc46/attachment.bin>


More information about the llvm-commits mailing list