[all-commits] [llvm/llvm-project] a21611: [Flang] Add a HLFIR Minloc intrinsic (#74436)
David Green via All-commits
all-commits at lists.llvm.org
Tue Dec 12 04:39:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2161154334355e9ecdf3cc3a0303b9481aad897
https://github.com/llvm/llvm-project/commit/a2161154334355e9ecdf3cc3a0303b9481aad897
Author: David Green <david.green at arm.com>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/lib/Lower/HlfirIntrinsics.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
M flang/test/HLFIR/invalid.fir
M flang/test/HLFIR/memory-effects.fir
A flang/test/HLFIR/minloc-lowering.fir
A flang/test/HLFIR/minloc.fir
A flang/test/Lower/HLFIR/minloc.f90
M flang/test/Lower/HLFIR/transformational.f90
Log Message:
-----------
[Flang] Add a HLFIR Minloc intrinsic (#74436)
The adds a hlfir minloc intrinsic, similar to the minval intrinsic
already added, to help in the lowering of minloc. The idea is to later
add maxloc too, and from there add a simplification for producing minloc
with inlined elemental and hopefully less temporaries.
More information about the All-commits
mailing list