AtomicCmpXchg in C bindings

Hi,

is there currently a way to create a cmpxchg instruction using the C bindings?

I only found LLVMBuildAtomicRMW and LLVMBuildFence in the documentation.

Regards,
Christoph Grenz

I see an LLVMBuildAtomicCmpXchg in the header (it's been there for
about a year). The documentation does seem out of date though, for
reasons that are beyond me.

Cheers.

Tim.

Thanks! It seems that my local headers are quite a bit out of date :slight_smile:

Regards
Christoph