Skip to content
Snippets Groups Projects
Commit 69bed1c9 authored by Rhys Perry's avatar Rhys Perry
Browse files

aco: don't DCE atomics with return values


We don't create atomics with definitions if they are not used in NIR, but
our own DCE can remove the uses if an export turns out to be null.

Signed-off-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Fixes: 93c8ebfa ('aco: Initial commit of independent AMD compiler')
Reviewed-by: default avatarDaniel Schürmann <daniel@schuermann.dev>
Part-of: <!3081>
parent 8f291dc1
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