Convert the given Cmpxchg into primitive load and compare.

Synopsis

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

bool
lowerAtomicCmpXchgInst(AtomicCmpXchgInst* CXI);

Return Value

True if the compare‐exchange was lowered.

Parameters

Name

Description

CXI

The atomic compare‐exchange instruction to lower.

Created with MrDocs