commit | a83fdf4fd7e84d58b378fd0f951d669824bed782 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Thu Feb 01 20:28:33 2018 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Thu Feb 01 20:28:33 2018 +0000 |
tree | cdfaf382621c5a3063679e24c04448e7d1799346 | |
parent | 44579f3e8119bf0a3346ae6ff2be2ccd2f1831a8 [diff] |
[ADT] Replace sys::MemoryFence with standard atomics. This is a bit faster in theory, in practice it's cold code that's only active in !NDEBUG, so it probably doesn't make a difference. This is one of the last users of our homegrown Atomic.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323999 91177308-0d34-0410-b5e6-96231b3b80d8