mesa/src/amd
Timur Kristóf d80c7f3406 aco: Fix how p_is_helper interacts with optimizations.
p_is_helper doesn't have any operands, so ACO's value numbering and/or
the pre-RA optimizer could incorrectly recognize two such instructions
as the same.

This patch adds exec as an operand to p_is_helper in order to achieve
correct behavior.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5570
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13577>
2021-11-13 16:32:02 +01:00
..
addrlib amd/addrlib: Ignore self-assign warnings. 2021-11-09 20:51:14 +00:00
ci ci/deqp-runner: Rename the deqp-drivername-*.txt files to drivername-*.txt 2021-10-27 20:54:11 +00:00
common ac: Align ADDR_FASTCALL with addrlib 2021-11-12 09:46:10 +00:00
compiler aco: Fix how p_is_helper interacts with optimizations. 2021-11-13 16:32:02 +01:00
llvm ac/llvm: accept primitives whose face culling determinant is Inf or NaN 2021-10-19 12:49:06 +00:00
registers python: drop python2 support 2021-08-14 21:44:32 +00:00
vulkan radv: lower load_local_invocation_index with 1D workgroups 2021-11-12 18:59:51 +00:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
meson.build radv: Allow building when LLVM isn’t enabled 2021-10-01 10:40:18 +02:00