Change from compare_exchange_weak() to compare_exchange_strong() where appropriate, because on ARM ( http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/3190 , http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/3191 ) and AArch64 ( http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/3900 ) it fails even in single-threaded scenarios.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'm accepting this in light of the comments in the thread http://lists.llvm.org/pipermail/llvm-dev/2017-January/109524.html
If there is any problem or a better implementation, we can revert and re-implement later. Right now getting the bots stable again is priority.
cheers,
--renato
Comment Actions
@rengolin , I think your link to the mailing list is wrong. Here is the correct one: https://groups.google.com/forum/#!topic/llvm-dev/2Lt6DEZLgmo