Index: include/llvm/IR/IntrinsicInst.h =================================================================== --- include/llvm/IR/IntrinsicInst.h +++ include/llvm/IR/IntrinsicInst.h @@ -357,6 +357,10 @@ return getArgOperand(3)->getType(); } + // Query for whether the instruction is one of the unordered element + // atomic variants of memory intrinsic. + bool isElementAtomic() const { return false; } + // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const IntrinsicInst *I) { switch (I->getIntrinsicID()) {