cjappl wrote: > but it'd be better if we handled atomic CAS spinlocks as well since we would > like to avoid the pthread dependency if possible.
Agreed, I have something in the works for this but it is a little ways off. (catching these unbound loops is a bit tricky) My recommendation to make it work when using the builtins would be just extracting this test to another test, then #ifdefing it out in the situation where we are not using pthread https://github.com/llvm/llvm-project/pull/106603 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits