From 375945ea0bc9fb475098cb188ce18a56344d0e4e Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 15 Apr 2026 14:31:49 -0400 Subject: [PATCH] jay/lower_pre_ra: skip predication otherwise the assert blows up Signed-off-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/jay/jay_lower_pre_ra.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/jay/jay_lower_pre_ra.c b/src/intel/compiler/jay/jay_lower_pre_ra.c index 28e828a3886..010edb97fad 100644 --- a/src/intel/compiler/jay/jay_lower_pre_ra.c +++ b/src/intel/compiler/jay/jay_lower_pre_ra.c @@ -150,9 +150,10 @@ lower_immediates(jay_builder *b, jay_inst *I, struct hash_table_u64 *constants) if (I->op == JAY_OPCODE_CMP && jay_is_zero(I->src[1]) && jay_is_null(I->dst) && - I->type == JAY_TYPE_U32) { + I->type == JAY_TYPE_U32 && + !I->predication) { - assert(!jay_is_null(I->cond_flag) && !I->predication); + assert(!jay_is_null(I->cond_flag)); I->op = JAY_OPCODE_MOV; jay_shrink_sources(I, 1); }