mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
freedreno/ir3/ra: fix array liveranges
Fixes: 1b658533e1 ("freedreno/ir3: extend liverange of arrays")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>
This commit is contained in:
parent
6347c2ea89
commit
d2cc92c747
1 changed files with 1 additions and 1 deletions
|
|
@ -795,7 +795,7 @@ ra_add_interference(struct ir3_ra_ctx *ctx)
|
|||
if (BITSET_TEST(bd->livein, i + arr->base)) {
|
||||
arr->start_ip = MIN2(arr->start_ip, block->start_ip);
|
||||
}
|
||||
if (BITSET_TEST(bd->livein, i + arr->base)) {
|
||||
if (BITSET_TEST(bd->liveout, i + arr->base)) {
|
||||
arr->end_ip = MAX2(arr->end_ip, block->end_ip);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue