This patch fixes the condition for emitting atomic update using
atomicrmw instruction or compare-exchange loop.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D121546
[OpenMP][IRBuilder] Fix emitAtomicUpdate conditions ClosedPublic Authored by shraiysh on Mar 13 2022, 1:41 AM.
Details Summary This patch fixes the condition for emitting atomic update using
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, sstefan1, stephenneuendorffer, nicolasvasilache. · View Herald Transcript shraiysh added reviewers: kiranktp, NimishMishra, AMDChirag, kiranchandramohan, clementval, peixin, MatsPetersson, arnamoy10.Mar 13 2022, 1:48 AM This revision is now accepted and ready to land.Mar 21 2022, 2:28 AM Closed by commit rG423e3edc2712: [OpenMP][IRBuilder] Fix emitAtomicUpdate conditions (authored by shraiysh). · Explain WhyMar 21 2022, 3:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 416882 llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
mlir/test/Target/LLVMIR/openmp-llvm.mlir
|