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 <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41064>
This commit is contained in:
Alyssa Rosenzweig 2026-04-16 11:49:06 -04:00 committed by Marge Bot
parent 56ffad0c3a
commit 1b648326ac

View file

@ -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);