diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-01 23:29:30 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-08 02:16:21 +0100 |
| commit | 74d99ae4bd80d6b2064ca539ba4dffe24aaec362 (patch) | |
| tree | 8875b9c9482be8d797d5a0d493dc2c2586e47f9f /validation/optim | |
| parent | 4a5f616407e26efb67013f8267adef2d6e093bf1 (diff) | |
| download | sparse-dev-74d99ae4bd80d6b2064ca539ba4dffe24aaec362.tar.gz | |
cmp: simplify zext(x) cmps C
A signed compare of a zero-extended value against a constant
outside of the original range is statically known.
Simplify to the corresponding 0/1.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
| -rw-r--r-- | validation/optim/cmp-zext-simm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/cmp-zext-simm.c b/validation/optim/cmp-zext-simm.c index f89f8f8b..dda237d7 100644 --- a/validation/optim/cmp-zext-simm.c +++ b/validation/optim/cmp-zext-simm.c @@ -17,7 +17,6 @@ int zext_lgt(unsigned int x) { return (ZEXT(x) > -1) == 1; } /* * check-name: cmp-zext-simm * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-ignore * check-output-returns: 1 |
