[PATCH] D21723: [RFC] Enhance synchscope representation

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 4 21:57:57 PDT 2017


sanjoy added inline comments.


================
Comment at: docs/LangRef.rst:2192
+``<target-scope>`` is a target specific synchronization scope, then it is target
+dependent if it definitely does, definitely does not, or maybe
+*synchronizes with*, and participates in the seq\_cst total orderings of, other
----------------
This middle paragraph was not clear to me.  Are you trying to say that given two atomic operations `op0` marked with `syncscope("scope-0")` and `op1` marked with `syncscope("scope-1")`, whether they synchronize or not is a target  specific function of `"scope-0"` and `"scope-1"`?  If so, why not say just that?



https://reviews.llvm.org/D21723





More information about the llvm-commits mailing list