aco: simplify masked swizzle dpp selection by removing or_mask first
authorGeorg Lehmann <dadschoorse@gmail.com>
Fri, 8 Sep 2023 09:01:34 +0000 (11:01 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Sep 2023 10:07:27 +0000 (10:07 +0000)
commit336ec2a4b4e84ded2839f6ee9330e63385769318
treed7744e1a8658a9b4017958c46e32fb292b8347a2
parent2009b9b5e2813910cc603db234b29299d96774c1
aco: simplify masked swizzle dpp selection by removing or_mask first

and_mask and xor_mask alone can represent all patterns without or_mask

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25115>
src/amd/compiler/aco_instruction_selection.cpp