llvm::TargetLoweringBase::getMinCmpXchgSizeInBits

Returns the size of the smallest cmpxchg or ll/sc instruction the backend supports. Any smaller operations are widened in AtomicExpandPass.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

unsigned int
getMinCmpXchgSizeInBits() const;

Description

Note that unlike operations above the maximum size, atomic ops are still natively supported below the minimum; they just require a more complex expansion.

Return Value

The size of the smallest cmpxchg or ll/sc instruction the backend supports. Any smaller operations are widened in AtomicExpandPass.