Revert "Revert r229082 for a bit, it caused PR22577."
This reverts commit r229123. It was a red herring, the bug was present without r229082. llvm-svn: 229205
This commit is contained in:
@@ -2147,11 +2147,21 @@ public:
|
||||
|
||||
void EmitAtomicInit(Expr *E, LValue lvalue);
|
||||
|
||||
bool LValueIsSuitableForInlineAtomic(LValue Src);
|
||||
bool typeIsSuitableForInlineAtomic(QualType Ty, bool IsVolatile) const;
|
||||
|
||||
RValue EmitAtomicLoad(LValue LV, SourceLocation SL,
|
||||
AggValueSlot Slot = AggValueSlot::ignored());
|
||||
|
||||
RValue EmitAtomicLoad(LValue lvalue, SourceLocation loc,
|
||||
llvm::AtomicOrdering AO, bool IsVolatile = false,
|
||||
AggValueSlot slot = AggValueSlot::ignored());
|
||||
|
||||
void EmitAtomicStore(RValue rvalue, LValue lvalue, bool isInit);
|
||||
|
||||
void EmitAtomicStore(RValue rvalue, LValue lvalue, llvm::AtomicOrdering AO,
|
||||
bool IsVolatile, bool isInit);
|
||||
|
||||
std::pair<RValue, RValue> EmitAtomicCompareExchange(
|
||||
LValue Obj, RValue Expected, RValue Desired, SourceLocation Loc,
|
||||
llvm::AtomicOrdering Success = llvm::SequentiallyConsistent,
|
||||
|
||||
Reference in New Issue
Block a user