[PATCH] D40037: [CallSiteSplitting] Remove some indirection (NFC).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 02:30:56 PST 2017


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

Add check to ensure we only split call sites in `tryToSplitOnOrPredicatedArgument` if the header block has exactly 2 successors. I plan to post a patch relaxing that soonish.


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.123144.patch
Type: text/x-patch
Size: 13407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/a9f8ced8/attachment.bin>


More information about the llvm-commits mailing list