[flang-commits] [PATCH] D138121: [flang] Add hlfir.designate definition

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Nov 16 05:00:32 PST 2022


jeanPerier created this revision.
jeanPerier added reviewers: clementval, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
jeanPerier requested review of this revision.
Herald added a reviewer: nicolasvasilache.

Add hlfir.designate operation definition. This is the HLFIR building
blocks to represent Fortran designator. An hlfir.designator is a
Fortran "part-ref" and an optional susbstring or part ref.
See the operation added description for more detail, and
https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md
for the rational of this operation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138121

Files:
  flang/include/flang/Optimizer/Builder/HLFIRTools.h
  flang/include/flang/Optimizer/HLFIR/HLFIRDialect.h
  flang/include/flang/Optimizer/HLFIR/HLFIROps.td
  flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
  flang/test/HLFIR/designate.fir
  flang/test/HLFIR/invalid.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138121.475785.patch
Type: text/x-patch
Size: 36662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221116/3a99959b/attachment-0001.bin>


More information about the flang-commits mailing list