aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/eqne-select.c
AgeCommit message (Collapse)AuthorFilesLines
2020-11-07simplify SEL(x == y, x, y) and friendsLuc Van Oostenryck1-0/+12
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>