jay: check for inverse-ballots in jay_uses_flag

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41215>
This commit is contained in:
Alyssa Rosenzweig 2026-04-24 13:46:52 -04:00 committed by Marge Bot
parent 86f19bc983
commit 80081ef7b2

View file

@ -631,7 +631,8 @@ jay_num_isa_srcs(const jay_inst *I)
static inline bool
jay_uses_flag(const jay_inst *I)
{
return I->predication ||
return jay_is_flag(I->dst) ||
I->predication ||
!jay_is_null(I->cond_flag) ||
I->op == JAY_OPCODE_SEL;
}