diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-01-05 00:01:08 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-01-26 22:49:11 +0100 |
| commit | b5a4f039a159ade2f01af7b10cd7615cbc42ba35 (patch) | |
| tree | 3cf080491c66dd46fa5dba538772d746e17fac52 /validation/optim/cmps-minmax.c | |
| parent | 5db6d62e83623808fc29f6a6da636ddf5c658110 (diff) | |
| download | sparse-dev-b5a4f039a159ade2f01af7b10cd7615cbc42ba35.tar.gz | |
cmps: simplify signed compares with SMIN or SMAX
Simplify away signed compares with SMIN or SMAX which can be
statically be determined to be always true or always false.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim/cmps-minmax.c')
| -rw-r--r-- | validation/optim/cmps-minmax.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/cmps-minmax.c b/validation/optim/cmps-minmax.c index ded3286c..5802cdbc 100644 --- a/validation/optim/cmps-minmax.c +++ b/validation/optim/cmps-minmax.c @@ -10,7 +10,6 @@ int gt_smax(int a) { return (a > SMAX) == 0; } /* * check-name: cmps-minmax * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-ignore * check-output-returns: 1 |
