NFC: disallow comparison of AtomicOrdering
authorJF Bastien <jfb@google.com>
Thu, 7 Apr 2016 15:50:05 +0000 (15:50 +0000)
committerJF Bastien <jfb@google.com>
Thu, 7 Apr 2016 15:50:05 +0000 (15:50 +0000)
commite1951092ff6a40b0c602396d9d357e9fbe464b5f
tree0ee2b53f78eb6453e16c3c886f36f3e6cd5d13ce
parent6e6966460a387724cd87ec92d3a91ecfbee84a24
NFC: disallow comparison of AtomicOrdering

Follow-up to D18775 and related clang change. AtomicOrdering is a lattice, 'stronger' is the right thing to do, direct comparison is fraught with peril.

llvm-svn: 265685
llvm/include/llvm/IR/Instructions.h