llvm-project/llvm/test/Transforms/JumpThreading
Pablo Barrio 9f45254138 [JumpThreading] Unfold selects that depend on the same condition
Summary:
These are good candidates for jump threading. This enables later opts
(such as InstCombine) to combine instructions from the selects with
instructions out of the selects. SimplifyCFG will fold the select
again if unfolding wasn't worth it.

Patch by James Molloy and Pablo Barrio.

Reviewers: rengolin, haicheng, sebpop

Subscribers: jojo, jmolloy, llvm-commits

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

llvm-svn: 286236
2016-11-08 14:53:30 +00:00
..
2008-11-27-EntryMunge.ll
2010-08-26-and.ll
2011-04-02-SimplifyDeadBlock.ll
2011-04-14-InfLoop.ll
2012-07-19-NoSuccessorIndirectBr.ll
and-and-cond.ll
and-cond.ll
assume-edge-dom.ll
assume.ll
basic.ll [JumpThreading] See through Cast Instructions 2016-03-16 04:52:52 +00:00
branch-no-const.ll
compare.ll
conservative-lvi.ll
crash-assertingvh.ll Work around PR28400 a bit harder. 2016-07-06 19:05:41 +00:00
crash.ll
degenerate-phi.ll
implied-cond.ll [ValueTracking] Improve isImpliedCondition when the dominating cond is false. 2016-04-25 17:23:36 +00:00
indirectbr.ll
induction.ll [LVI] Introduce an intersect operation on lattice values 2016-02-02 03:15:40 +00:00
landing-pad.ll
lvi-load.ll
no-irreducible-loops.ll
or-undef.ll
phi-eq.ll
phi-known.ll
pr9331.ll
pr15851_hang.ll
pr22086.ll
pr26096.ll Avoid inlining call sites in unreachable-terminated block 2016-02-01 20:55:11 +00:00
pr27840.ll Jump threading: avoid trying to split edge into landingpad block (PR27840) 2016-10-03 18:18:04 +00:00
select.ll
static-profile.ll [JumpThreading] Only write back branch-weight MDs for blocks that originally had PGO info 2016-09-06 16:08:33 +00:00
thread-cmp.ll
thread-loads.ll [JumpThreading] Fix handling of aliasing metadata. 2016-08-08 04:10:22 +00:00
unfold-selects-same-cond.ll [JumpThreading] Unfold selects that depend on the same condition 2016-11-08 14:53:30 +00:00
update-edge-weight.ll