Files
mesa/src
Job Noorman c8f9990733 ir3/legalize: prevent infinite loop when inserting (ss)nop
We need to insert a (ss)nop when an instruction that doesn't support
(ss) needs it. However, when this happens in a block that needs to be
legalized more than once (e.g., because it is in a loop), the (ss)nop
would be inserted every iteration, causing an infinite loop.

Fix this by checking if the previous instructions is a nop and applying
(ss) there.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: 5993723471 ("freedreno/a3xx/compiler: scheduling/legalize fixes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36440>
2025-08-01 19:08:23 +00:00
..
2025-08-01 15:34:24 +00:00
2025-08-01 15:34:24 +00:00
2025-07-15 12:37:10 +00:00
2025-07-07 21:18:29 +00:00
2025-08-01 16:28:24 +00:00
2025-08-01 15:34:24 +00:00
2025-07-22 23:17:01 +00:00