From 1b648326acf6189b89f8e6cb3ca3ccf23a833d2a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 16 Apr 2026 11:49:06 -0400 Subject: [PATCH] jay: refuse to propagate ADDRESS copies at least until we have address RA.. Totals: Instrs: 2764282 -> 2764288 (+0.00%) CodeSize: 44299872 -> 44299920 (+0.00%) Totals from 2 (0.08% of 2647) affected shaders: Instrs: 4215 -> 4221 (+0.14%) CodeSize: 67456 -> 67504 (+0.07%) Signed-off-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/jay/jay_opt_propagate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/jay/jay_opt_propagate.c b/src/intel/compiler/jay/jay_opt_propagate.c index 5cf5ebfb6b8..8c3e3c8e587 100644 --- a/src/intel/compiler/jay/jay_opt_propagate.c +++ b/src/intel/compiler/jay/jay_opt_propagate.c @@ -347,7 +347,8 @@ propagate_backwards(jay_function *f) if (!flag && I->type == use->type && I->op != JAY_OPCODE_PHI_DST && - use->op == JAY_OPCODE_MOV) { + use->op == JAY_OPCODE_MOV && + use->dst.file != J_ADDRESS) { I->dst = use->dst; jay_remove_instruction(use);