This patch adds lowering from omp.atomic.read to LLVM IR along with the
memory ordering clause. Tests for the same are also added.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D115134
[mlir][OpenMP] Added omp.atomic.read lowering ClosedPublic Authored by shraiysh on Dec 5 2021, 11:48 PM.
Details Summary This patch adds lowering from omp.atomic.read to LLVM IR along with the
Diff Detail
Event Timelineshraiysh added reviewers: kiranktp, NimishMishra, AMDChirag, kiranchandramohan, peixin, clementval, abidmalikwaterloo, MatsPetersson, Meinersbur, jeanPerier, arnamoy10.Dec 5 2021, 11:52 PM ftynse added inline comments. This revision is now accepted and ready to land.Dec 6 2021, 4:33 AM Closed by commit rG31cf42bd9a71: [mlir][OpenMP] Added omp.atomic.read lowering (authored by shraiysh). · Explain WhyDec 6 2021, 9:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 392280 mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/Target/LLVMIR/openmp-llvm.mlir
|
There's llvm::StringSwitch for this purpose.