agx: match another address pattern

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32759>
This commit is contained in:
Alyssa Rosenzweig 2024-11-27 08:57:07 -05:00 committed by Marge Bot
parent 7626e40506
commit b5d41bc0fb

View file

@ -210,6 +210,11 @@ ixor_bcsel = [
cleanup_amul = [
# Neither operation overflows so we can keep the amul.
(('amul', ('amul', a, '#b'), '#c'), ('amul', a, ('imul', b, c))),
# Result of u2u64 has zero in upper half, so the shift doesn't overflow, so
# neither multiplication overflows.
(('amul', ('ishl', ('u2u64', 'a@32'), '#b(is_ult_32)'), '#c'),
('amul', ('u2u64', a), ('ishl', c, b))),
]
fuse_lea = []