diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-01 16:18:03 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-08 02:13:52 +0100 |
| commit | 983964c2ff72392fb7a373990f55cfcb2ba832a0 (patch) | |
| tree | 11b532ffcfe5079d7cc298cb3867720ca879e74b /validation/optim | |
| parent | 2680e82101a685cca986bf619bb1dd21e0573af8 (diff) | |
| download | sparse-dev-983964c2ff72392fb7a373990f55cfcb2ba832a0.tar.gz | |
cmp: canonicalize unsigned (x {<=,>} SMAX)
Unsigned <= or > against SMAX are equivalent to testing if the
value is positive or not (when interpreted as a signed number).
Canonicalize to this positive/negative test since it only needs
the constant 0 which make it easier to handle at later steps.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
| -rw-r--r-- | validation/optim/set-uimm3.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/set-uimm3.c b/validation/optim/set-uimm3.c index b72ef8d6..5160f741 100644 --- a/validation/optim/set-uimm3.c +++ b/validation/optim/set-uimm3.c @@ -4,7 +4,6 @@ int gt(int x) { return (x > 0x7fffffffU) == (x < 0); } /* * check-name: set-uimm3 * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-ignore * check-output-returns: 1 |
