From a01e6b6dc78febc7605f250d506d1dd605a941f5 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 13 May 2022 17:56:02 -0400 Subject: [PATCH] pan/bi: Don't lower FAU for phis Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_schedule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c index 1c79ff55f03..05c7f24de32 100644 --- a/src/panfrost/bifrost/bi_schedule.c +++ b/src/panfrost/bifrost/bi_schedule.c @@ -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;