mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
pan: fix to not clear out of bitset range
Fixes:617f0562bb("pan: Use bitset instead of bool array in bi_find_loop_blocks") Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> (cherry picked from commitec24d1afb6) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40359>
This commit is contained in:
parent
d7ee1e68df
commit
b88c8f37e4
2 changed files with 2 additions and 2 deletions
|
|
@ -2114,7 +2114,7 @@
|
|||
"description": "pan: fix to not clear out of bitset range",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "617f0562bb1127d53841c33d39f743d179064148",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -7086,7 +7086,7 @@ find_all_predecessors(const bi_context *ctx, bi_block *b, BITSET_WORD *out)
|
|||
assert(out);
|
||||
assert(b);
|
||||
|
||||
BITSET_CLEAR_RANGE(out, 0, ctx->num_blocks);
|
||||
BITSET_CLEAR_COUNT(out, 0, ctx->num_blocks);
|
||||
|
||||
/* If the CFG was one long chain, we would require |blocks|-1 iters to
|
||||
* propagate the in_loop info all the way through.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue