OSDN Git Service

[CallSiteSplitting] Remove isOrHeader restriction.
authorFlorian Hahn <florian.hahn@arm.com>
Sat, 23 Dec 2017 20:02:26 +0000 (20:02 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Sat, 23 Dec 2017 20:02:26 +0000 (20:02 +0000)
commitd35f8227d8781ee4a99a52b36afee17f36a95a67
tree8f259d4b92d13d180dbac6f8f30421fccf384873
parentd75654e8902ce41cf2ba02557b6847821c3f59fd
[CallSiteSplitting] Remove isOrHeader restriction.

By following the single predecessors of the predecessors of the call
site, we do not need to restrict the control flow.

Reviewed By: junbuml, davide

Differential Revision: https://reviews.llvm.org/D40729

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321413 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CallSiteSplitting.cpp
test/Transforms/CallSiteSplitting/callsite-no-or-structure.ll [new file with mode: 0644]
test/Transforms/CallSiteSplitting/callsite-no-splitting.ll [new file with mode: 0644]