diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-17 07:10:45 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-21 18:22:11 +0100 |
| commit | 1221dc1c8c4299c57bb53a7b0b8a8e4e8729f9d6 (patch) | |
| tree | 63c7ac33601a28e94c722d3a62762e103afe56a2 /validation/optim | |
| parent | 7943063c5206e28f00d6f4c5117de034c369cd92 (diff) | |
| download | sparse-dev-1221dc1c8c4299c57bb53a7b0b8a8e4e8729f9d6.tar.gz | |
simplify CGOTO(SEL(x, L1, L2)) into CBR x, L1, L2
A computed goto having as operand a select of 2 statically known addresses
(OP_SETVAL/EXPR_LABEL) is equivalent to a simple conditional branch.
Simplify such computed goto into the corresponding OP_CBR
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
| -rw-r--r-- | validation/optim/cgoto02.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/cgoto02.c b/validation/optim/cgoto02.c index 5869d5b4..932c3164 100644 --- a/validation/optim/cgoto02.c +++ b/validation/optim/cgoto02.c @@ -11,7 +11,6 @@ l2: /* * check-name: cgoto02 * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-ignore * check-output-returns: %arg1 |
