[flang-commits] [PATCH] D149852: [flang][hlfir] Add ordered assignment pass with TODOs

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu May 4 07:32:11 PDT 2023


jeanPerier created this revision.
jeanPerier added reviewers: vzakhari, clementval, tblah.
jeanPerier added a project: Flang.
Herald added subscribers: bviyer, sunshaoce, Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, mehdi_amini, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a reviewer: awarzynski.
Herald added a project: All.
jeanPerier requested review of this revision.
Herald added subscribers: stephenneuendorffer, nicolasvasilache.

I plan to implement lowering from parse tree to HLFIR first for forall
and where to ease testing of the rewrite pass while writing it.

To avoid cryptic errors in ConvertToFir pass about unhandled operations,
this patch already defines the pass that will further lower these
operations and make it throw clear TODO messages.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149852

Files:
  flang/include/flang/Optimizer/HLFIR/Passes.h
  flang/include/flang/Optimizer/HLFIR/Passes.td
  flang/include/flang/Tools/CLOptions.inc
  flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
  flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
  flang/test/Driver/mlir-debug-pass-pipeline.f90
  flang/test/Driver/mlir-pass-pipeline.f90
  flang/test/Fir/basic-program.fir
  flang/test/HLFIR/ordered-assignments-codegen-todo.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149852.519484.patch
Type: text/x-patch
Size: 9350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230504/4ffcdb1b/attachment-0001.bin>


More information about the flang-commits mailing list