[flang][hlfir] lower hlfir.product into fir runtime call
authorJacob Crawley <jacob.crawley@arm.com>
Tue, 2 May 2023 10:15:54 +0000 (10:15 +0000)
committerJacob Crawley <jacob.crawley@arm.com>
Thu, 4 May 2023 11:23:38 +0000 (11:23 +0000)
commit7c57195c49c7847bd2fcab2a91dcdea178b60d42
tree14f8d682db5ab234084eb1568846d61afb9325a4
parent508d49a55c18ebfefa3a22b15dd3e94846293952
[flang][hlfir] lower hlfir.product into fir runtime call

The shared code for lowering the sum and product operations in
flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp have
been moved into a new class HlfirReductionIntrinsicConverion.

Depends on: D148719

Differential Revision: https://reviews.llvm.org/D149644
flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
flang/test/HLFIR/product-lowering.fir [new file with mode: 0644]