summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2017-08-04 18:53:35 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2017-08-04 18:53:35 +0000
commit02f1c02c2710a3daacc098cae20b991ba5c8a7ec (patch)
tree07100f7c9853068576877d764fc90704daa3c4b8 /clang/lib/CodeGen/CodeGenFunction.cpp
parent38197c66a1f10bf1e73427ebbab78365ab30b6ad (diff)
downloadbcm5719-llvm-02f1c02c2710a3daacc098cae20b991ba5c8a7ec.tar.gz
bcm5719-llvm-02f1c02c2710a3daacc098cae20b991ba5c8a7ec.zip
[SystemZ] Eliminate unnecessary serialization operations
We currently emit a serialization operation (bcr 14, 0) before every atomic load and after every atomic store. This is overly conservative. The SystemZ architecture actually does not require any serialization for atomic loads, and a serialization after an atomic store only if we need to enforce sequential consistency. This is what other compilers for the platform implement as well. llvm-svn: 310093
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud