[LLVMdev] Floating point atomic load and add

Tyler Denniston
Fri, 24 Apr 2015 20:53:18 -0000

Hello,

I'm wondering how I can create an atomic load and add instruction for
floating point values. If I use      IRBuilder::CreateAtomicRMW() I
get the error message: "atomicrmw operand must have integer type".

I am using LLVM 3.4 and the only system I need to support is x86.