[PATCH] D40037: [CallSiteSplitting] Remove some indirection (NFC).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 05:03:48 PST 2017
fhahn updated this revision to Diff 123012.
fhahn added a comment.
Added `tryToSplitOnOrPredicatedArgument` and `tryToSplitOnPHIPredicatedArgument` to make clear which checks are required for each. This changed the order of the predecessors in 2 test cases, as now we do not determine the HeaderBB for PHI predicated arguments.
I have also added the test case Jun suggested to make sure this change does not regress things.
https://reviews.llvm.org/D40037
Files:
lib/Transforms/Scalar/CallSiteSplitting.cpp
test/Transforms/CallSiteSplitting/callsite-split-or-phi.ll
test/Transforms/CallSiteSplitting/callsite-split.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40037.123012.patch
Type: text/x-patch
Size: 13254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171115/d1777880/attachment-0001.bin>
More information about the llvm-commits
mailing list