diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-02-19 07:26:49 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-03-19 23:56:44 +0100 |
| commit | a45f9140a0c237f1b2f82e66595dba6426c5b598 (patch) | |
| tree | 973fe7bdeb3816c60da879f6d0fe21cc51bef353 /validation/optim/bad-phisrc2.c | |
| parent | c59ba8c0b5d699256651755eed6f421667751d33 (diff) | |
| download | sparse-dev-a45f9140a0c237f1b2f82e66595dba6426c5b598.tar.gz | |
use convert_to_jump() when converting a CBR with same targets
If a conditional branch has identical targets, it should be
converted to a simple jump.
This is done but using its own code.
Change this by using the existing convert_to_jump() instead.
This also allows any redundant phi-sources to be removed.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim/bad-phisrc2.c')
| -rw-r--r-- | validation/optim/bad-phisrc2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/optim/bad-phisrc2.c b/validation/optim/bad-phisrc2.c index 3eade688..78eae288 100644 --- a/validation/optim/bad-phisrc2.c +++ b/validation/optim/bad-phisrc2.c @@ -10,7 +10,6 @@ int bad_phisrc2(int p, int a, int r) /* * check-name: bad-phisrc2 * check-command: test-linearize -Wno-decl $file - * check-known-to-fail * * check-output-ignore * check-output-contains: select\\. |
