asb planned changes to this revision. asb added a comment. I'll update this to include cmpxchg support now D48131 <https://reviews.llvm.org/D48131> landed. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D53233/new/ https://reviews.llvm.org/D53233