pan/bi: Add bi_must_last predicate
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
This commit is contained in:
parent
eb217914f7
commit
ab4234bdf0
|
@ -166,6 +166,12 @@ bi_can_add(bi_instr *ins)
|
|||
return bi_opcode_props[ins->op].add;
|
||||
}
|
||||
|
||||
ASSERTED static bool
|
||||
bi_must_last(bi_instr *ins)
|
||||
{
|
||||
return bi_opcode_props[ins->op].last;
|
||||
}
|
||||
|
||||
/* 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
|
||||
|
|
Loading…
Reference in New Issue