aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/preprocessor/include-level.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-06 21:22:56 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-22 15:30:17 +0100
commitef00ea2fa5203a2e3da3e3c7f2c46668d66c31c9 (patch)
treea036348247ee6c92408dfc5373f36e588eb8a7c3 /validation/preprocessor/include-level.c
parenta1c7b6f159cfd5137676c6730b3d14ddd411dc57 (diff)
downloadsparse-dev-ef00ea2fa5203a2e3da3e3c7f2c46668d66c31c9.tar.gz
canon: put PSEUDO_REGs in canonical order too
Currently, only binops containing PSEUDO_VAL, SYM or ARG were put in canonical order. This means that binops containing only PSEUDO_REGs are not ordered. This is not directly a problem for CSE because commutativity is taken in account but: * more combination need to be checked during simplification * 'anti-commutative' operations like (a > b) & (b < a) are not recognized as such. So, take PSEUDO_REGs in account when checking if operands are in canonical order. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/preprocessor/include-level.c')
0 files changed, 0 insertions, 0 deletions