aco: Don't verify branch exec read when eliminating exec writes.
authorTimur Kristóf <timur.kristof@gmail.com>
Sun, 2 Apr 2023 22:03:37 +0000 (00:03 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 3 Apr 2023 14:36:07 +0000 (14:36 +0000)
commit739bd03c375ff09b6af240866adfa98920457510
treed19a1bcf419d078d72eb4d3c0185928ad310bc50
parent9eb04d8f969c86238b33513adbff56e0a0557c49
aco: Don't verify branch exec read when eliminating exec writes.

Verifying that the branch instruction reads exec is not actually
necessary because the pattern that we look for already implies that.

This prepares for the next commit which will remove the exec operand
from branches that have the same target. These branches will no
longer read exec, but they should still get the same optimization.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21493>
src/amd/compiler/aco_ssa_elimination.cpp