aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-07-02 00:20:25 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-07-23 13:11:20 +0200
commit548f00d19561881ba176c8acfaf9121ddacb80e8 (patch)
tree605f4d88bb9c743ae27f4da878728277e1268106 /validation/optim
parenta8e1df57346cb6a456e36d82c5d50a159479ba5d (diff)
downloadsparse-dev-548f00d19561881ba176c8acfaf9121ddacb80e8.tar.gz
cast: simplify [SZ]EXT + TRUNC to original size
An OP_ZEXT/OP_SEXT following by a OP_TRUNC to the original size is a NOP. Simplify away such OP_TRUNC. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
-rw-r--r--validation/optim/ext-trunc-same.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/ext-trunc-same.c b/validation/optim/ext-trunc-same.c
index 634fdb87..2bfcf030 100644
--- a/validation/optim/ext-trunc-same.c
+++ b/validation/optim/ext-trunc-same.c
@@ -11,7 +11,6 @@ short ueq(unsigned short x)
/*
* check-name: ext-trunc-same
* check-command: test-linearize -Wno-decl $file
- * check-known-to-fail
*
* check-output-ignore
* check-output-excludes: trunc\\.