[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 Feb 5 03:28:22 PST 2018
fhahn updated this revision to Diff 132802.
fhahn added a comment.
Thanks Jun!
Update the patch to use getInstructionCost(i, TCK_CodeSize) to decide whether it is worth to perform call site splitting. Also avoid creating PHI nodes for existing PHI nodes unnecessarily.
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-or-phi.ll
test/Transforms/CallSiteSplitting/callsite-split.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41860.132802.patch
Type: text/x-patch
Size: 36795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180205/0fb40b28/attachment-0001.bin>
More information about the llvm-commits
mailing list