From 80081ef7b20219fe05e88471da64589a7c5b23a4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 24 Apr 2026 13:46:52 -0400 Subject: [PATCH] jay: check for inverse-ballots in jay_uses_flag Signed-off-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/jay/jay_ir.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/jay/jay_ir.h b/src/intel/compiler/jay/jay_ir.h index d5177482ea6..49cb795c8a8 100644 --- a/src/intel/compiler/jay/jay_ir.h +++ b/src/intel/compiler/jay/jay_ir.h @@ -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; }