[PATCH] D34629: Add isElementAtomic query method to MemInstrinsic class.

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 21:27:47 PDT 2017


mkazantsev added inline comments.


================
Comment at: include/llvm/IR/IntrinsicInst.h:360
 
+    // Query for whether the instruction is one of the unordered element
+    // atomic variants of memory intrinsic.
----------------
Would you mind to give a more detailed description of what "element atomic" actually is in this comment? Maybe write some simple example of array and show how it works with its elements. I'd ask this to make clear distinction between this one and isAtomic() method.


https://reviews.llvm.org/D34629





More information about the llvm-commits mailing list