pan/bi: Don't lower FAU for phis

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
This commit is contained in:
Alyssa Rosenzweig 2022-05-13 17:56:02 -04:00 committed by Marge Bot
parent 694578ee54
commit a01e6b6dc7

View file

@ -2055,6 +2055,10 @@ bi_lower_fau(bi_context *ctx)
constants[cwords++] = ins->src[3].value;
}
/* Phis get split up into moves so are unrestricted */
if (ins->op == BI_OPCODE_PHI)
continue;
bi_foreach_src(ins, s) {
if (bi_check_fau_src(ins, s, constants, &cwords, &fau)) continue;