[flang-commits] [PATCH] D134285: [flang][RFC] Adding higher level FIR ops to ease expression lowering

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Sep 20 08:38:50 PDT 2022


jeanPerier created this revision.
jeanPerier added reviewers: awarzynski, bryanpkc, clementval, dpalermo, ekieri, jdoerfert, kiranchandramohan, kiranktp, klausler, ktras, Leporacanthicus, mehdi_amini, peixin, PeteSteinfeld, pmccormick, razvanlupusoru, rogfer01, rouson, rovka, rriddle, schweitz, shraiysh, sscalpone, tarunprabhu, unterumarmung, vdonaldson, vzakhari.
jeanPerier added a project: Flang.
Herald added a project: All.
jeanPerier requested review of this revision.

This document describes a new FIR value type (fir.expr) and some new
higher level FIR operations to make lowering to FIR more straightforward
and make pattern matching of high level Fortran concepts (array and
character assignments, character operations, and transformational
intrinsics) easier in FIR.

This should allow implementing the remaining gaps in Fortran 95 features
without increasing the lowering code complexity too much, and get a
clean start for the remaining F2003 <https://reviews.llvm.org/F2003> and F2018 <https://reviews.llvm.org/F2018> features.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134285

Files:
  flang/docs/HighLevelFIR.md

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134285.461577.patch
Type: text/x-patch
Size: 70401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220920/0d17baf7/attachment-0001.bin>


More information about the flang-commits mailing list