[PATCH] D99611: [OPENMP]Fix PR48658: [OpenMP 5.0] Compiler crash when OpenMP atomic sync hints used.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 30 15:06:04 PDT 2021


ABataev added inline comments.


================
Comment at: clang/test/OpenMP/atomic_codegen.cpp:61
       St().get() %= b;
-#pragma omp atomic
+#pragma omp atomic hint(6)
       s.field++;
----------------
jdoerfert wrote:
> Should this influence the IR in any way?
Currently not, it is just ignored


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99611/new/

https://reviews.llvm.org/D99611



More information about the cfe-commits mailing list