RFC: add "cmpxchg weak" to LLVM IR

Chandler Carruth chandlerc at google.com
Thu Jun 12 09:50:12 PDT 2014

On Thu, Jun 12, 2014 at 5:22 PM, Tim Northover <t.p.northover at gmail.com>

> 1. All cmpxchg instructions now return { iN, i1 } where the first
> value is what we got before (the loaded result), the second == 1 if an
> exchange took place.

Having to do extractvalue to get stuff out of these kinds of aggregates
is... somewhat horrible... have you thought of any alternatives?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140612/f9d96965/attachment.html>

More information about the llvm-commits mailing list