diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c index d360de91ab2..84e36bd078b 100644 --- a/src/panfrost/bifrost/bi_schedule.c +++ b/src/panfrost/bifrost/bi_schedule.c @@ -172,6 +172,12 @@ bi_must_last(bi_instr *ins) return bi_opcode_props[ins->op].last; } +ASSERTED static bool +bi_must_message(bi_instr *ins) +{ + return bi_opcode_props[ins->op].message != BIFROST_MESSAGE_NONE; +} + /* Eventually, we'll need a proper scheduling, grouping instructions * into clauses and ordering/assigning grouped instructions to the * appropriate FMA/ADD slots. Right now we do the dumbest possible