aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-zero-sub.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-20sub: canonicalize (0 - x) into -xLuc Van Oostenryck1-1/+0
Not really a simplification in itself but it make some other simplification a little easier (already because there is one argument less to be matched). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2020-10-20add testcases about OP_ADD & OP_SUB simplificationsLuc Van Oostenryck1-0/+10
Add some testcases about basic simplifications of additions and subtractions. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>