aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/cse-arg01.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:16 +0100
commita1c7b6f159cfd5137676c6730b3d14ddd411dc57 (patch)
treed4729ea0b123b437129d9fa1b2a82270be035f50 /validation/optim/cse-arg01.c
parenteda5c718f55ac471d456752ff7138f1249289dc7 (diff)
downloadsparse-dev-a1c7b6f159cfd5137676c6730b3d14ddd411dc57.tar.gz
canon: put PSEUDO_ARGs in canonical order too
Currently, only binops containing PSEUDO_VAL or PSEUDO_SYM were put in canonical order. This means that binops containing only PSEUDO_ARGs or 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, as a first step, also take PSEUDO_ARGs in account when checking if operands are in canonical order. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim/cse-arg01.c')
-rw-r--r--validation/optim/cse-arg01.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/cse-arg01.c b/validation/optim/cse-arg01.c
index c3f2963f..3e3e141a 100644
--- a/validation/optim/cse-arg01.c
+++ b/validation/optim/cse-arg01.c
@@ -3,7 +3,6 @@ int foo(int a, int b) { return (a < b) == (b > a); }
/*
* check-name: cse-arg01
* check-command: test-linearize -Wno-decl $file
- * check-known-to-fail
*
* check-output-ignore
* check-output-returns: 1