Re: [committed] openmp: Improve expand_omp_atomic_pipeline

2021-09-06 Thread Thomas Schwinge
Hi! On 2021-09-03T10:02:31+0200, Jakub Jelinek via Gcc-patches wrote: > When __atomic_* builtins were introduced, omp-expand.c (omp-low.c > at that point) has been adjusted in several spots so that it uses > the atomic builtins instead of sync builtins, but > expand_omp_atomic_pipeline has not

[committed] openmp: Improve expand_omp_atomic_pipeline

2021-09-03 Thread Jakub Jelinek via Gcc-patches
Hi! When __atomic_* builtins were introduced, omp-expand.c (omp-low.c at that point) has been adjusted in several spots so that it uses the atomic builtins instead of sync builtins, but expand_omp_atomic_pipeline has not because the __atomic_compare_exchange_* APIs take address of the argument,