diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-08-04 21:04:25 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-08-06 08:53:14 +0200 |
| commit | d1be6899cf4271d43c6334ff4f6b8f50f0c1483b (patch) | |
| tree | a413453be09cee846668f093fa43429ba38c0c55 /validation/optim | |
| parent | bf7f95c1e8d806d844795e546bc4494b3e4858c6 (diff) | |
| download | sparse-dev-d1be6899cf4271d43c6334ff4f6b8f50f0c1483b.tar.gz | |
simplify AND(SETCC(x,y), M)
Since the OP_SETCC instructions can only return a 0 or a 1,
a subsequent AND mask can often be heavily simplified.
Simplify the mask value.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
| -rw-r--r-- | validation/optim/setcc-mask.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/setcc-mask.c b/validation/optim/setcc-mask.c index c8df1049..5d271788 100644 --- a/validation/optim/setcc-mask.c +++ b/validation/optim/setcc-mask.c @@ -6,7 +6,6 @@ int foo (int a) /* * check-name: setcc-mask * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-start foo: |
