aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/preprocessor/stringify.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-10-31 17:20:36 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-07 22:53:05 +0100
commit467fce3048571227e49beee068f783fb1c76a1e7 (patch)
treef00a14248b0c6dd4066149efba9454b7f724144f /validation/preprocessor/stringify.c
parentc25293e689b0b408c6228676536e928e4f042dfe (diff)
downloadsparse-dev-467fce3048571227e49beee068f783fb1c76a1e7.tar.gz
simplify SEL(x == y, x, y) and friends
If the condition of a select instruction is a equality test of the select's operands, then the result of the select is always the same as its second operand. Same for the first operand with an inequality test. Simplify away these selects. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/preprocessor/stringify.c')
0 files changed, 0 insertions, 0 deletions