llvm-mirror/test/Transforms/CorrelatedValuePropagation
Florian Hahn 51df7978a6 [ValueLattice] Add singlecrfromundef lattice value.
This patch adds a new singlecrfromundef lattice value, indicating a
single element constant range which was merge with undef at some point.
Merging it with another constant range results in overdefined, as we
won't be able to replace all users with a single value.

This patch uses a ConstantRange instead of a Constant*, because regular
integer constants are represented as single element constant ranges as
well and this allows the existing code working without additional
changes.

Reviewers: efriedma, nikic, reames, davide

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D75845
2020-03-15 11:23:46 +00:00
..
2019-06-24 20:13:13 +00:00
2019-06-24 20:13:13 +00:00
2020-02-26 20:36:41 +01:00
2019-10-21 08:21:44 +00:00
2019-10-21 21:31:19 +00:00