[flang-commits] [flang] [Flang] Minloc elemental intrinsic lowering (PR #74828)
via flang-commits
flang-commits at lists.llvm.org
Fri Dec 8 06:13:45 PST 2023
jeanPerier wrote:
> Was there a lot of duplication rewriting it to an hlfir.elemental in in SimplifyHLFIRIntrinsics?
That being said, I think only the case with `dim` can be "composed" since the elements are cannot be computed independently in the case without DIM. So your approach makes sense in this case (The case without DIM cannot be rewritten into some hlfir.elemental that would not re-do the reduction for each element which is dum).
https://github.com/llvm/llvm-project/pull/74828
More information about the flang-commits
mailing list