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 <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:45:54 -04:00 committed by Marge Bot
parent 1b648326ac
commit b5898a418b

View file

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