[all-commits] [llvm/llvm-project] 686881: [flang] Add hlfir.elemental and hlfir.yield_elemen...
jeanPerier via All-commits
all-commits at lists.llvm.org
Thu Dec 15 02:12:21 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 686881976cd016621301f752481c2df29462edc7
https://github.com/llvm/llvm-project/commit/686881976cd016621301f752481c2df29462edc7
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/HLFIROpBase.td
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
A flang/test/HLFIR/elemental.fir
Log Message:
-----------
[flang] Add hlfir.elemental and hlfir.yield_element definition
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.
Differential Revision: https://reviews.llvm.org/D140015
More information about the All-commits
mailing list