majnemer added a comment. IMO, this should be implemented in clang CodeGen so that we don't get extra acquire/release barriers with /volatile:ms but that might be overkill; feel free to disregard this. https://reviews.llvm.org/D24986