pco: experimentally propagate olchk mod for fwd prop opt

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:
Simon Perretta 2025-02-28 13:12:57 +00:00 committed by Marge Bot
parent 140154db02
commit 725293c8f7

View file

@ -393,6 +393,12 @@ static inline bool try_fwd_prop_instr(pco_instr **writes, pco_instr *instr)
/* TODO: types? */
*psrc = repl;
if (pco_instr_has_olchk(parent_instr) &&
pco_instr_get_olchk(parent_instr)) {
assert(pco_instr_has_olchk(instr));
pco_instr_set_olchk(instr, true);
}
progress = true;
}