[PATCH] D98063: [flang][fir] Add the pre-code gen rewrite pass and codegen ops.

Eric Schweitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 11:21:01 PST 2021


schweitz created this revision.
schweitz added reviewers: clementval, kiranchandramohan, jeanPerier, svedanayagam, sscalpone.
schweitz added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert, mgorny.
Herald added a reviewer: awarzynski.
schweitz requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

Before the conversion to LLVM-IR dialect and ultimately LLVM IR, FIR is
partially rewritten into a codegen form.  This patch adds that pass, the
fircg dialect, and the small set of Ops in the fircg (sub) dialect.
Fircg is not part of the FIR dialect and should never be used outside of
the (closed) conversion to LLVM IR.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98063

Files:
  flang/include/flang/Optimizer/CodeGen/CGOps.td
  flang/include/flang/Optimizer/CodeGen/CGPasses.td
  flang/include/flang/Optimizer/CodeGen/CMakeLists.txt
  flang/include/flang/Optimizer/Dialect/FIRDialect.h
  flang/include/flang/Optimizer/OptPasses.h
  flang/include/flang/Optimizer/Support/InitFIR.h
  flang/lib/Optimizer/CMakeLists.txt
  flang/lib/Optimizer/CodeGen/CGOps.cpp
  flang/lib/Optimizer/CodeGen/CGOps.h
  flang/lib/Optimizer/CodeGen/PassDetail.h
  flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
  flang/test/Fir/cg-ops.fir
  flang/tools/fir-opt/fir-opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98063.328597.patch
Type: text/x-patch
Size: 30532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210305/34d70bb5/attachment.bin>


More information about the llvm-commits mailing list