[LLVMdev] Keeping Clang from changing function calls to IR operations: cmpxchg

Dan westdac at gmail.com
Tue May 14 15:46:24 PDT 2013

I'm working on getting the LLVM/projects/Test-Suite/UnitTest to compile for
a target that I am developing.

There is an example: AtomicOps, that uses calls to:


These get converted into llvm IR operations like:


Is there any way to keep these as function calls, as they are easier to map
to the target's eventual functional then having to deal with atomicrmw and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130514/b6871e5a/attachment.html>

More information about the llvm-dev mailing list