1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/CorrelatedValuePropagation
Nikita Popov 99f935f7df [CVP] Simplify cmp of local phi node
CVP currently does not simplify cmps with instructions in the same
block, because LVI getPredicateAt() currently does not provide
much useful information for that case (D69686 would change that,
but is stuck.) However, if the instruction is a Phi node, then
LVI can compute the result of the predicate by threading it into
the predecessor blocks, which allows it simplify some conditions
that nothing else can handle. Relevant code:
6d6a4590c5/llvm/lib/Analysis/LazyValueInfo.cpp (L1904-L1927)

Differential Revision: https://reviews.llvm.org/D72169
2020-02-26 20:36:41 +01:00
..
2010-09-02-Trunc.ll
2010-09-26-MergeConstantRange.ll
add.ll
alloca.ll
and.ll
ashr.ll
basic.ll
conflict.ll
crash.ll
deopt.ll
guards.ll
icmp.ll [CVP] Simplify cmp of local phi node 2020-02-26 20:36:41 +01:00
mul.ll
non-null.ll
overflow_predicate.ll
overflows.ll
phi-common-val.ll
pointer.ll
pr35807.ll
profmd.ll
range.ll
sdiv.ll
select.ll
sext.ll
shl.ll
srem.ll
sub.ll
udiv.ll
urem.ll