diff --git a/.pick_status.json b/.pick_status.json index 7fb20e51c1c..3ae458f81b0 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3554,7 +3554,7 @@ "description": "pan/bi: Move FAUs to memory for memory phis", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "6c64ad934f76dc142926c7a1261ac94d80dca0a9", "notes": null diff --git a/src/panfrost/compiler/bifrost/bi_spill_ssa.c b/src/panfrost/compiler/bifrost/bi_spill_ssa.c index cb4d5173883..ed38510cf5c 100644 --- a/src/panfrost/compiler/bifrost/bi_spill_ssa.c +++ b/src/panfrost/compiler/bifrost/bi_spill_ssa.c @@ -553,9 +553,10 @@ insert_coupling_code(struct spill_ctx *ctx, bi_block *pred, bi_block *succ) /* Copy immediate/uniform phi sources to memory variables at the start of * the program, where pressure is zero and hence the copy is legal. */ - if (I->src[s].type != BI_INDEX_NORMAL && I->src[s].type != BI_INDEX_FAU) { + if (I->src[s].type != BI_INDEX_NORMAL) { assert(I->src[s].type == BI_INDEX_CONSTANT || - I->src[s].type == BI_INDEX_REGISTER); + I->src[s].type == BI_INDEX_REGISTER || + I->src[s].type == BI_INDEX_FAU); bi_index gpr = bi_temp(ctx->shader); unsigned bits = 32;