commit | abc482effcabd373f5c96fb8f9dd493968a112dd | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Fri Feb 13 07:55:47 2015 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Fri Feb 13 07:55:47 2015 +0000 |
tree | 2b1eb59e9ebf337925c18d2ad7537c0d60995c27 | |
parent | 2a903b900d212dfaf5482408042a6f7b9e87c9a6 [diff] |
MS ABI: Implement /volatile:ms The /volatile:ms semantics turn volatile loads and stores into atomic acquire and release operations. This distinction is important because volatile memory operations do not form a happens-before relationship with non-atomic memory. This means that a volatile store is not sufficient for implementing a mutex unlock routine. Differential Revision: http://reviews.llvm.org/D7580 llvm-svn: 229082