llvm-project/llvm/test/Transforms/CallSiteSplitting
Florian Hahn a63b5c9e53 [CallSiteSplitting] Simplify isPredicateOnPHI & continue checking PHIs.
As pointed out by @thakis, currently CallSiteSplitting bails out after
checking the first PHI node. We should check all PHI nodes, until we
find one where call site splitting is beneficial.

This patch also slightly simplifies the code using BasicBlock::phis().

Reviewers: davidxl, junbuml, thakis

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D77089
2020-04-02 10:11:27 +01:00
..
callsite-instructions-before-call.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
callsite-no-or-structure.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
callsite-no-splitting.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
callsite-split-debug.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
callsite-split-or-phi.ll [CallSiteSplitting] Simplify isPredicateOnPHI & continue checking PHIs. 2020-04-02 10:11:27 +01:00
callsite-split-preserve-debug.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
callsite-split.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
convergent.ll CallSiteSplitting: Respect convergent and noduplicate 2019-05-29 16:59:48 +00:00
lpad.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
musttail.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
noduplicate.ll CallSiteSplitting: Respect convergent and noduplicate 2019-05-29 16:59:48 +00:00
split-loop.ll [SimplifyCFG] Added condition assumption for unreachable blocks 2019-05-25 22:34:27 +00:00