diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-30 23:51:22 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-08-06 08:51:36 +0200 |
| commit | 8457b3c20a2f3e3f1ad1201af217faf4e89e0940 (patch) | |
| tree | 5f1fb6616eb2adf70d0a93b684bbfaaaf519b77b /validation/optim/trunc-setne0.c | |
| parent | 34c4c964d0969a5c594b6bedaa3d749cf1ba6e24 (diff) | |
| download | sparse-dev-8457b3c20a2f3e3f1ad1201af217faf4e89e0940.tar.gz | |
simplify SETNE(TRUNC(x,N),{0,1})
Convert the OP_TRUNC into an OP_AND with the appropriate mask.
This a greater chance to simplify with previous instructions
and to correspond to a register-size operand.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim/trunc-setne0.c')
| -rw-r--r-- | validation/optim/trunc-setne0.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/trunc-setne0.c b/validation/optim/trunc-setne0.c index 16f99a88..878c05fa 100644 --- a/validation/optim/trunc-setne0.c +++ b/validation/optim/trunc-setne0.c @@ -13,7 +13,6 @@ unsigned int foo(struct s x) /* * check-name: trunc-setne0 * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-ignore * check-output-contains: and\\. |
