aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2017-08-16 17:09:00 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2017-08-16 17:09:00 +0000
commit999b1d942627537be989a53748b61b49a1d59a24 (patch)
treefa3ab16955f85f5135b17a8bce01f62d8bac0c34 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent1977092dc3a22b0814314f6a14ba8056462318ee (diff)
downloadllvm-999b1d942627537be989a53748b61b49a1d59a24.zip
llvm-999b1d942627537be989a53748b61b49a1d59a24.tar.gz
llvm-999b1d942627537be989a53748b61b49a1d59a24.tar.bz2
amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier
Specs require using fences when barrier() is invoked: "The barrier function will either flush any variables stored in local memory or queue a memory fence to ensure correct ordering of memory operations to local memory." and "The barrier function will queue a memory fence to ensure correct ordering of memory operations to global memory." Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Aaron Watry <awatry@gmail.com> Tested-by: Aaron Watry <awatry@gmail.com> llvm-svn: 311022
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions