mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
99f935f7df
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:
|
||
---|---|---|
.. | ||
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 | ||
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 |