llvm-project/llvm/test/Transforms/SCCP
Florian Hahn b4a70b9f47 [IPSCCP] Use PredicateInfo to propagate facts from cmp instructions.
This patch updates IPSCCP to use PredicateInfo to propagate
facts to true branches predicated by EQ and to false branches
predicated by NE.

As a follow up, we should be able to extend it to also propagate additional
facts about nonnull.

Reviewers: davide, mssimpso, dberlin, efriedma

Reviewed By: davide, dberlin

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

llvm-svn: 333268
2018-05-25 11:12:33 +00:00
..
2002-05-02-MissSecondInst.ll
2002-05-20-MissedIncomingValue.ll
2002-05-21-InvalidSimplify.ll
2002-08-30-GetElementPtrTest.ll
2003-06-24-OverdefinedPHIValue.ll
2003-08-26-InvokeHandling.ll
2004-11-16-DeadInvoke.ll
2004-12-10-UndefBranchBug.ll
2006-10-23-IPSCCP-Crash.ll
2006-12-04-PackedType.ll
2006-12-19-UndefBug.ll
2007-05-16-InvokeCrash.ll
2008-01-27-UndefCorrelate.ll
2008-04-22-multiple-ret-sccp.ll
2008-05-23-UndefCallFold.ll
2009-01-14-IPSCCP-Invoke.ll
2009-05-27-VectorOperandZero.ll
apint-array.ll
apint-basictest.ll
apint-basictest2.ll
apint-basictest3.ll
apint-basictest4.ll
apint-bigarray.ll
apint-bigint.ll
apint-bigint2.ll
apint-ipsccp1.ll
apint-ipsccp2.ll
apint-ipsccp3.ll
apint-ipsccp4.ll
apint-load.ll
apint-phi.ll
apint-select.ll
atomic-load-store.ll
atomic.ll
bitcast.ll
calltest.ll
comdat-ipo.ll
constant-struct.ll
crash.ll
definite-initializer.ll
dont-zap-return.ll
global-alias-constprop.ll
indirectbr.ll
ip-constant-ranges.ll Revert r328307: [IPSCCP] Use constant range information for comparisons of parameters. 2018-03-23 12:49:39 +00:00
ipsccp-addr-taken.ll
ipsccp-basic.ll
ipsccp-predicated.ll [IPSCCP] Use PredicateInfo to propagate facts from cmp instructions. 2018-05-25 11:12:33 +00:00
loadtest.ll [SCCP] Test that constant propagation updates debug info, NFC 2018-02-15 19:13:04 +00:00
logical-nuke.ll
overdefined-div.ll
pr27712.ll
pr35357.ll [SCCP] Pick the right lattice value for constants. 2017-11-22 03:04:55 +00:00
retvalue-undef.ll
sccptest.ll
select.ll
switch-multiple-undef.ll
switch.ll
ub-shift.ll
undef-resolve.ll
vector-bitcast.ll