aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linearize.h
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-02-07 21:50:27 +0100
committerChristopher Li <sparse@chrisli.org>2017-02-13 09:34:46 +0800
commitf4615a44a2ab133b90a9c9eb9bc7861fa66dfa46 (patch)
tree4889a4792818b1217bcb6dd9bddcab07d4bf475d /linearize.h
parentf1252a541ac87e814018c0dd01c39ea6356530eb (diff)
downloadsparse-dev-f4615a44a2ab133b90a9c9eb9bc7861fa66dfa46.tar.gz
simplify '(x / -1)' to '-x' (but only for signed division)
A previous patch added the simplification for multiply by -1 but we can do the same for the signed divide. This patch add this simplification Also add the corresponding test cases. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'linearize.h')
0 files changed, 0 insertions, 0 deletions