llvm::lowerAtomicRMWInst

Convert the given RMWI into primitive load and stores, assuming that doing so is legal. Return true if the lowering succeeds.

Synopsis

Declared in <llvm/Transforms/Utils/LowerAtomic.h>

bool
lowerAtomicRMWInst(AtomicRMWInst* RMWI);

Return Value

True if the RMW was lowered.

Parameters

NameDescription
RMWIThe atomic read-modify-write instruction to lower.