Displaying 2 results from an estimated 2 matches for "addc908e".
2013 May 14
0
[LLVMdev] Keeping Clang from changing function calls to IR operations: cmpxchg
...LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130514/addc908e/attachment.html>
2013 May 14
2
[LLVMdev] Keeping Clang from changing function calls to IR operations: cmpxchg
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:
__sync_fetch_and_add
__sync_val_compare_and_swap
__sync_lock_test_and_set
These get converted into llvm IR operations like:
atomicrmw
cmpxchg
Is there any way to keep these as function calls, as they are easier to map
to the