NFC: unify clang / LLVM atomic ordering
authorJF Bastien <jfb@google.com>
Sun, 17 Apr 2016 21:00:57 +0000 (21:00 +0000)
committerJF Bastien <jfb@google.com>
Sun, 17 Apr 2016 21:00:57 +0000 (21:00 +0000)
commit6ef3aa2b7eccddb11c22db3f00173d17306a5135
tree5beb943d65a88eaf2132bf1530e8a2626200efc5
parentcdbecda42af8a2f2d7e71915079af81c54746790
NFC: unify clang / LLVM atomic ordering

Summary: This makes the C11 / C++11 *ABI* atomic ordering accessible from LLVM, as discussed in http://reviews.llvm.org/D18200#inline-151433

Reviewers: jyknight, reames

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D18875

llvm-svn: 266573
llvm/include/llvm/IR/Instructions.h
llvm/include/llvm/Support/AtomicOrdering.h [new file with mode: 0644]
llvm/lib/CodeGen/AtomicExpandPass.cpp