diff options
| -rw-r--r-- | simplify.c | 4 | ||||
| -rw-r--r-- | validation/optim/setne0-sext.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1191,6 +1191,10 @@ static int simplify_cast(struct instruction *insn) break; case OP_FPCMP ... OP_BINCMP_END: switch (insn->opcode) { + case OP_SEXT: + if (insn->size == 1) + break; + /* fall through */ case OP_ZEXT: // simplify: // setcc.n %t <- %a, %b 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\\. |
