[PATCH] D86071: [MLIR][OpenMP] Add omp.do operation

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 06:25:17 PDT 2020


DavidTruby created this revision.
Herald added subscribers: llvm-commits, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, guansong, yaxunl.
Herald added projects: MLIR, LLVM.
DavidTruby requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: sstefan1, stephenneuendorffer, nicolasvasilache.

This adds a simple definition of a "workshare loop" operation for
the OpenMP MLIR dialect, excluding the "reduction" and "allocate"
clauses and without a custom parser and pretty printer.

The schedule clause also does not yet accept the modifiers that are
permitted in OpenMP 5.0.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86071

Files:
  llvm/include/llvm/Frontend/OpenMP/OMP.td
  mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
  mlir/test/Dialect/OpenMP/ops.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86071.286000.patch
Type: text/x-patch
Size: 6108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200817/caeefe27/attachment.bin>


More information about the llvm-commits mailing list