[PATCH] IR support for "cmpxchg weak"

Chandler Carruth chandlerc at google.com
Fri Jun 13 06:49:29 PDT 2014

On Fri, Jun 13, 2014 at 2:44 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> > This patch is minimal, in the sense that it exposes some interfaces
> > to make "cmpxchg weak" usable, but doesn't actually do anything with
> > them. It comes with a similarly minimal Clang patch that just makes
> > it correctly use the strong cmpxchg again.
> This somewhat concerns me... does this make 'weak' the new default? If
> that is not backward compatible then maybe we should flip the default?

Not by my reading. Notably, the bitcode upgrade definitely does *not* make
weak the default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140613/6c5f5165/attachment.html>

More information about the llvm-commits mailing list