diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2023-07-19 14:05:11 +0100 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2023-07-28 18:48:24 +0100 |
commit | a6ddf095aa54a06f90d08aa40b42c95c3cc3efec (patch) | |
tree | 272659bac7ee0ff20cbd7bc6f3c81a0d54d9100f /.pick_status.json | |
parent | 2808bafac3034b0811af4dcea667709d17b97947 (diff) | |
download | mesa-a6ddf095aa54a06f90d08aa40b42c95c3cc3efec.tar.gz mesa-a6ddf095aa54a06f90d08aa40b42c95c3cc3efec.tar.bz2 mesa-a6ddf095aa54a06f90d08aa40b42c95c3cc3efec.zip |
nir/opt_dead_cf: remove nodes after a jump earlier
In the case of:
halt
// succs: b9
if %618 {
block b3:// preds:
break
// succs: b6
} else {
block b4: // preds: , succs: b5
}
block b5: // preds: b4
32 %556 = iadd %617, %2 (0x1)
opt_constant_if() doesn't work because stitch_blocks() can't join blocks if the
before ends in a jump and the after isn't empty.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24235>
(cherry picked from commit 21f0aca948b2bbaefb39407c3bf3fe605d05caf5)
Diffstat (limited to '.pick_status.json')
-rw-r--r-- | .pick_status.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json index 9cb82390cf9..19e19d84c53 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2047,7 +2047,7 @@ "description": "nir/opt_dead_cf: remove nodes after a jump earlier", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, |