radeonsi: tell LLVM not to remove s_barrier instructions
authorMarek Olšák <marek.olsak@amd.com>
Sat, 22 Apr 2017 22:46:55 +0000 (00:46 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 28 Apr 2017 19:47:35 +0000 (21:47 +0200)
commit55445ff1891724c78e6573d2f8c721e14c0449fc
tree8aeb6fd6f1887dd0fd39b641642894d436510e5f
parent0490074cab0393b1128d1f316948c7bdd6d45e57
radeonsi: tell LLVM not to remove s_barrier instructions

LLVM 5.0 removes s_barrier instructions if the max-work-group-size
attribute is not set. What a surprise.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c