diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-03-10 21:35:33 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-03-10 21:35:33 +0000 |
| commit | 938bc1ea843e6e5d64d4d4c33df5ccf40d677344 (patch) | |
| tree | 820adfbbaa9ea06e26434b68f537e6b391bf5023 /llvm/lib/IR/Module.cpp | |
| parent | 02a0dd8dd1ed2c3ff532618290e0040ad70dbbf1 (diff) | |
| download | llvm-938bc1ea843e6e5d64d4d4c33df5ccf40d677344.zip llvm-938bc1ea843e6e5d64d4d4c33df5ccf40d677344.tar.gz llvm-938bc1ea843e6e5d64d4d4c33df5ccf40d677344.tar.bz2 | |
IRGen: __c11/__atomic compare-and-exchange should respect the standard
Summary:
'Expected' should only be modified if the operation fails.
This fixes PR18899.
Reviewers: chandlerc, rsmith, rjmccall
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2922
llvm-svn: 203493
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions
