aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-07-31 00:24:17 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-06 08:51:47 +0200
commit5791d659d0db0468998decab7352efb8e8142cf9 (patch)
treed7cd5042ee70d5338cb0fab1448d5c2302ed113d /validation/optim
parent1a5e49c57e6585832c4197f4f2ed91c73a964cb9 (diff)
downloadsparse-dev-5791d659d0db0468998decab7352efb8e8142cf9.tar.gz
simplify SEXT(SETCC(x,y), N)
Since the OP_SETCC instructions can only return a 0 or a 1, a sign-extension won't change the value if the size is wider than 1. The OP_SETCC can thus be changed to directly return the extended size. Remove the unneeded extension. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
-rw-r--r--validation/optim/setne0-sext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/setne0-sext.c b/validation/optim/setne0-sext.c
index 565f8df2..4167979b 100644
--- a/validation/optim/setne0-sext.c
+++ b/validation/optim/setne0-sext.c
@@ -3,7 +3,6 @@ long foo(int a) { return a != 0; }
/*
* check-name: setne0-sext
* check-command: test-linearize -m64 -Wno-decl $file
- * check-known-to-fail
*
* check-output-ignore
* check-output-excludes: sext\\.