[llvm] r317754 - AMDGPU: Lower buffer store and atomic intrinsics manually

Michel Dänzer via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 02:33:44 PST 2017


On 09/11/17 10:56 PM, Marek Olšák wrote:
> It appears to be caused by the GLSL compiler doing something weird
> with gl_ClipDistance and this commit only uncovers the bug by giving
> the instruction scheduler more freedom.
> 
> It looks like it's a read-after-write hazard in LDS. Setting
> "volatile" on LDS loads and stores fixes it.

Thanks for the assessment and for working on a fix.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the llvm-commits mailing list