summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/cmpxchg-upgrade.ll.bc
Commit message (Collapse)AuthorAgeFilesLines
* IR: add a second ordering operand to cmpxhg for failureTim Northover2014-03-111-0/+0
The syntax for "cmpxchg" should now look something like: cmpxchg i32* %addr, i32 42, i32 3 acquire monotonic where the second ordering argument gives the required semantics in the case that no exchange takes place. It should be no stronger than the first ordering constraint and cannot be either "release" or "acq_rel" (since no store will have taken place). rdar://problem/15996804 llvm-svn: 203559
OpenPOWER on IntegriCloud