forked from OSchip/llvm-project
parent
adfd1b730c
commit
5df7c1a4eb
|
@ -1469,9 +1469,9 @@ static void EmitOMPAtomicWriteExpr(CodeGenFunction &CGF, bool IsSeqCst,
|
|||
CGF.CGM.getOpenMPRuntime().emitFlush(CGF, llvm::None, Loc);
|
||||
}
|
||||
|
||||
bool emitOMPAtomicRMW(CodeGenFunction &CGF, LValue X, RValue Update,
|
||||
BinaryOperatorKind BO, llvm::AtomicOrdering AO,
|
||||
bool IsXLHSInRHSPart) {
|
||||
static bool emitOMPAtomicRMW(CodeGenFunction &CGF, LValue X, RValue Update,
|
||||
BinaryOperatorKind BO, llvm::AtomicOrdering AO,
|
||||
bool IsXLHSInRHSPart) {
|
||||
auto &Context = CGF.CGM.getContext();
|
||||
// Allow atomicrmw only if 'x' and 'update' are integer values, lvalue for 'x'
|
||||
// expression is simple and atomic is allowed for the given type for the
|
||||
|
|
Loading…
Reference in New Issue