[PATCH] D118547: [OMPIRBuilder] Add support for atomic compare
Shilei Tian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 2 12:20:03 PST 2022
tianshilei1992 marked an inline comment as done.
tianshilei1992 added inline comments.
================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:3523
+ NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::UMin
+ : AtomicRMWInst::UMax;
+ } else {
----------------
jdoerfert wrote:
> SMin, SMax
There is no value called `SMin` or `SMax`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118547/new/
https://reviews.llvm.org/D118547
More information about the llvm-commits
mailing list