MS ABI: Implement /volatile:ms

Description

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

Details

Committed
majnemerFeb 12 2015, 11:55 PM
Differential Revision
D7580: MS ABI: Implement /volatile:ms
Parents
rL229081: Fix the windows build *again*. Grrr, MSVC.
Branches
Unknown
Tags
Unknown