This patch adds translation from omp.atomic.capture to LLVM IR. Also
added tests for the same.
Depends on D121546
| Paths 
 |  Differential  D121554  
[mlir][OpenMP] Added translation from `omp.atomic.capture` to LLVM IR ClosedPublic Authored by shraiysh on Mar 13 2022, 9:26 AM. 
Details Summary This patch adds translation from omp.atomic.capture to LLVM IR. Also Depends on D121546 
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, 9:28 AM 
 shraiysh marked 5 inline comments as done.Comment Actions Thanks for the review @ftynse. Addressed comments. This revision is now accepted and ready to land.Mar 21 2022, 2:24 AM This revision was landed with ongoing or failed builds.Mar 21 2022, 4:09 AM Closed by commit rG31486a9fc27a: [mlir][OpenMP] Added translation from `omp.atomic.capture` to LLVM IR (authored by shraiysh).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
 
Revision Contents 
 
 
Diff 416888 llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
 mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
 mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
 mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
 mlir/test/Target/LLVMIR/openmp-llvm-invalid.mlir
 mlir/test/Target/LLVMIR/openmp-llvm.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Most places use Operation *, let's do the same here for consistency.