diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-06 00:12:40 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-23 13:11:20 +0200 |
| commit | bb97ff365b6f0cbcd8ee4057ee45925094d8101d (patch) | |
| tree | 0213c28daba8f52b7485624b7b159e5ff9fd2e68 /validation | |
| parent | 7da1a1b5051e146fe6e67b1c30af6ef6516c81d0 (diff) | |
| download | sparse-dev-bb97ff365b6f0cbcd8ee4057ee45925094d8101d.tar.gz | |
cast: simplify SEXT(ZEXT(x,N),N')
A sign-extension following a zero-extension can always
be simplified into a single zero-extension since the
intermediate value is guaranted to have a zero sign bit.
Simplify away such instructions.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/optim/zext-sext.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/zext-sext.c b/validation/optim/zext-sext.c index b0964b54..1fe3900d 100644 --- a/validation/optim/zext-sext.c +++ b/validation/optim/zext-sext.c @@ -6,7 +6,6 @@ int foo(unsigned char offset) /* * check-name: zext-sext * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-ignore * check-output-excludes: sext\\. |
