[all-commits] [llvm/llvm-project] ebae4c: [flang][hlfir] Fixed array constructor lowering.
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Fri May 5 10:09:37 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ebae4cc7cbe26cad2785106b0fc15a71a4b682ab
https://github.com/llvm/llvm-project/commit/ebae4cc7cbe26cad2785106b0fc15a71a4b682ab
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M flang/lib/Lower/ConvertArrayConstructor.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
A flang/test/HLFIR/elemental-codegen-nested.fir
A flang/test/Lower/HLFIR/array-ctor-as-elemental-nested.f90
Log Message:
-----------
[flang][hlfir] Fixed array constructor lowering.
First issue is that the clean-ups were generated after the yield_element
operation that must be the terminator. Second issue is that codegen for
elemenal operation was not working properly with nested elemental ops.
Differential Revision: https://reviews.llvm.org/D149921
More information about the All-commits
mailing list