Skip to content
Snippets Groups Projects
Commit d80c7f34 authored by Timur Kristóf's avatar Timur Kristóf
Browse files

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: mesa/mesa#5570


Signed-off-by: default avatarTimur Kristóf <timur.kristof@gmail.com>
Reviewed-by: default avatarDaniel Schürmann <daniel@schuermann.dev>
Part-of: <mesa/mesa!13577>
parent 01d36149
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment