mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
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:
parent
1b648326ac
commit
b5898a418b
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue