[PATCH] D18644: [SystemZ] Support ATOMIC_FENCE
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 07:04:58 PDT 2016
uweigand added a comment.
This seems overly conservative: I think we only need a BCR serialization instruction for sequentially-consistent cross-thread fences. For everything else, a pure compiler barrier should be sufficient. See e.g. the X86 back-end for how to implement that check.
http://reviews.llvm.org/D18644
More information about the llvm-commits
mailing list