This shouldn't be set for shaders running in an untrusted environment.
42952 affected shaders.
Code size in affected shaders: -12.64%
Differential D42079
AMDGPU: Add a function attribute that shrinks buggy s_buffer opcodes on GFX9 mareko on Jan 15 2018, 9:41 AM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions Okay, I see it now, and I can live with it. Please still consider the alternative alignment approach - it is a bit more restrictive in what it can do, but it could be enabled unconditionally.
|
I don't understand why the function attribute for a hardware bug. If this happens to help other targets not working around the bug we should add an optimization to do this somewhere.