Skip to content
Snippets Groups Projects
Commit db566904 authored by Connor Abbott's avatar Connor Abbott Committed by Marge Bot
Browse files

ir3/spill: Mark root as non-spillable after inserting

We have to mark the root as non-spillable in case the interval is the
child of some other interval, but we can't know whether it's the child
of some other interval until it's been inserted. Move the setting of
cant_spill below the insertion. This prevents us from using a bogus
parent value.

Fixes: 613eaac7 ("ir3: Initial support for spilling non-shared registers")
Part-of: <mesa/mesa!13650>
parent 7eb13fc2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment