[PATCH] D14434: tsan: make invisible test barrier portable

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 03:25:25 PST 2015


kubabrecka added a comment.

Huh, changing `*barrier = count;` in the initialization into:

  __atomic_store_n(barrier, count, __ATOMIC_RELAXED);

fixes the failing test.  But I'm not going to pretend that I understand why exactly was it failing...


http://reviews.llvm.org/D14434





More information about the llvm-commits mailing list