diff options
| author | Dan Albert <danalbert@google.com> | 2015-01-06 18:39:37 +0000 |
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2015-01-06 18:39:37 +0000 |
| commit | 872bad5ab72ec9e5b5bab1bff98285b1c36bbe58 (patch) | |
| tree | d1ee51fca9ae2eb19e28f17851791e5c421e7bdf /llvm/test/Transforms/SampleProfile/syntax.ll | |
| parent | d9c605ddae86b6e4b2138d7eec7b301698e3dfcb (diff) | |
| download | bcm5719-llvm-872bad5ab72ec9e5b5bab1bff98285b1c36bbe58.tar.gz bcm5719-llvm-872bad5ab72ec9e5b5bab1bff98285b1c36bbe58.zip | |
Obey [atomics.types.operations.req]/21 for GCC.
Summary:
Excerpt from [atomics.types.operations.req]/21:
> When only one memory_order argument is supplied, the value of
> success is order, and the value of failure is order except that a
> value of memory_order_acq_rel shall be replaced by the value
> memory_order_acquire and a value of memory_order_release shall be
> replaced by the value memory_order_relaxed.
Clean up some copy pasta while I'm here (someone added a return
statement to a void function).
Reviewers: EricWF, jroelofs, mclow.lists
Reviewed By: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6632
llvm-svn: 225280
Diffstat (limited to 'llvm/test/Transforms/SampleProfile/syntax.ll')
0 files changed, 0 insertions, 0 deletions

