[PATCH] D95399: [flang][fir] Upstream FIR dialect changes.

Eric Schweitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 15:09:24 PST 2021


schweitz created this revision.
schweitz added reviewers: clementval, jeanPerier.
schweitz added projects: Flang, MLIR.
Herald added subscribers: mehdi_amini, rriddle, jdoerfert.
Herald added a reviewer: sscalpone.
schweitz requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer.
Herald added a project: LLVM.

FIR dialect changes.

      

1. Use more of the newer tablegen support for dialects that's been arriving in the mlir/ tree. This reduces/eliminates some older hand-written code, etc.
2. Improves documentation on some FIR ops.
3. Adds new ops to support a generalization of Fortran "parallel" array expression semantics.
4. Adds new ops to support leveraging of the Affine dialect in MLIR. This will allow Fortran codes to make use of the polyhedral model being built for TensorFlow, etc.
5. Miscellaneous renaming of ops and types.
6. Adds an opaque attribute for passing on-the-side data.
7. Various bug fixes.
8. Updates tests.

A history of all these sources, including all contributors, previous reviews and revisions, etc., can be found at https://github.com/flang-compiler/f18-llvm-project/


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95399

Files:
  flang/include/flang/Optimizer/Dialect/FIRAttr.h
  flang/include/flang/Optimizer/Dialect/FIRDialect.h
  flang/include/flang/Optimizer/Dialect/FIROps.h
  flang/include/flang/Optimizer/Dialect/FIROps.td
  flang/include/flang/Optimizer/Dialect/FIRType.h
  flang/include/flang/Optimizer/TypePredicates.td
  flang/lib/Optimizer/Dialect/FIRAttr.cpp
  flang/lib/Optimizer/Dialect/FIRDialect.cpp
  flang/lib/Optimizer/Dialect/FIROps.cpp
  flang/lib/Optimizer/Dialect/FIRType.cpp
  flang/test/Fir/fir-ops.fir
  flang/test/Fir/fir-types.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95399.319135.patch
Type: text/x-patch
Size: 169640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210125/825101e6/attachment-0001.bin>


More information about the llvm-commits mailing list