radeonsi: use llvm.amdgcn.s.barrier instead of llvm.AMDGPU.barrier.local
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 25 Jan 2016 19:11:07 +0000 (14:11 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 26 Jan 2016 14:57:06 +0000 (09:57 -0500)
commit8894b5f0086cd80e7b5ccbe350d94e02fe4f4adf
tree2d4cfd7f6f68ba5b3cd1175d05b89c37a3c3aed8
parenta443b5b7320ef0d8a63faf8a7fc6136f97460cea
radeonsi: use llvm.amdgcn.s.barrier instead of llvm.AMDGPU.barrier.local

The new name for the intrinsic was introduced in LLVM r258558.

v2: use ternary operator instead of preprocessor

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (v1)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c