mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
pco: temporarily make vecs interfere with their components during regalloc
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
ea917ae732
commit
d10b769130
1 changed files with 9 additions and 0 deletions
|
|
@ -388,6 +388,15 @@ static bool pco_ra_func(pco_func *func,
|
|||
}
|
||||
}
|
||||
|
||||
pco_foreach_instr_in_func_rev (vec, func) {
|
||||
if (vec->op != PCO_OP_VEC)
|
||||
continue;
|
||||
|
||||
pco_foreach_instr_src_ssa (psrc, vec) {
|
||||
ra_add_node_interference(ra_graph, vec->dest[0].val, psrc->val);
|
||||
}
|
||||
}
|
||||
|
||||
bool allocated = ra_allocate(ra_graph);
|
||||
assert(allocated);
|
||||
/* TODO: spilling. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue