aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/memops
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-07 01:09:07 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-07 12:27:49 +0100
commit84bf7462ebc80b350b0d2b35156bae04b8d5feb1 (patch)
tree03156e3b9efafed7777e0c4a82d4259206de4223 /validation/memops
parent93bb38fdbfb16f8382954db1e02a6ff1731bd60f (diff)
downloadsparse-dev-84bf7462ebc80b350b0d2b35156bae04b8d5feb1.tar.gz
select: simplify SEL(SEL(x, C1, C2), y, z) --> y (with C1, C2 != 0)
If the condition of a select is also a select, with constant but non-zero operands, then the result of this inner select is always true and the outer select can be replaced by its second operand. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/memops')
0 files changed, 0 insertions, 0 deletions