From b5898a418b80f7e60316db5a4e06e296fa9e43be Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 16 Apr 2026 11:45:54 -0400 Subject: [PATCH] jay: relax mov type check prevents regression with next patch which turns u32 into s32. Totals: Instrs: 2764288 -> 2760796 (-0.13%) CodeSize: 44299920 -> 44244128 (-0.13%); split: -0.13%, +0.00% Totals from 193 (7.29% of 2647) affected shaders: Instrs: 255455 -> 251963 (-1.37%) CodeSize: 4160400 -> 4104608 (-1.34%); split: -1.34%, +0.00% Signed-off-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/jay/jay_opt_propagate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/jay/jay_opt_propagate.c b/src/intel/compiler/jay/jay_opt_propagate.c index 8c3e3c8e587..b1ce8f7a846 100644 --- a/src/intel/compiler/jay/jay_opt_propagate.c +++ b/src/intel/compiler/jay/jay_opt_propagate.c @@ -345,7 +345,7 @@ propagate_backwards(jay_function *f) /* Fold UGPR->{GPR, FLAG} copies coming out of NIR */ if (!flag && - I->type == use->type && + canonicalize_for_bit_compare(I->type) == use->type && I->op != JAY_OPCODE_PHI_DST && use->op == JAY_OPCODE_MOV && use->dst.file != J_ADDRESS) {