[flang-commits] [PATCH] D140015: [flang] Add hlfir.elemental and hlfir.yield_element definition

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Dec 14 05:31:07 PST 2022


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

hlfir.elemental is the operation that will allow representing all
Fortran elemental expressions and more as functions of the indices.
See https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md for
more details about it.

Also add hlfir.yield_elemement which is the hlfir.elemental region terminator.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140015

Files:
  flang/include/flang/Optimizer/HLFIR/HLFIROps.td
  flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
  flang/test/HLFIR/elemental.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140015.482821.patch
Type: text/x-patch
Size: 9163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221214/8a8bdbc7/attachment-0001.bin>


More information about the flang-commits mailing list