[Openmp-commits] [PATCH] D126619: [OpenMP][Clang] Fix atomic compare for signed vs. unsigned

Joel E. Denny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun May 29 16:22:06 PDT 2022


jdenny created this revision.
jdenny added reviewers: tianshilei1992, ABataev, jdoerfert.
jdenny added projects: OpenMP, clang.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
jdenny requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.

Without this patch, arguments to the
`llvm::OpenMPIRBuilder::AtomicOpValue` initializer are reversed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126619

Files:
  clang/lib/CodeGen/CGStmtOpenMP.cpp
  clang/test/OpenMP/atomic_compare_codegen.cpp
  openmp/libomptarget/test/offloading/atomic-compare-signedness.c
  openmp/runtime/test/atomic/omp-atomic-compare-signedness.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126619.432807.patch
Type: text/x-patch
Size: 86925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220529/e20aebc1/attachment-0001.bin>


More information about the Openmp-commits mailing list