[flang-commits] [flang] [flang][HLFIR] Optimize MINLOC/MAXLOC for equality masks (PR #186916)

via flang-commits flang-commits at lists.llvm.org
Tue Mar 17 02:07:42 PDT 2026


https://github.com/jeanPerier commented:

I agree with Slava's feedback.
The generic optimization should be to allow the resulting hlfir.apply of the mask hlfir.elemental to be inlined inside the loop inside the inline elemental pass.
This will cover a lot more use cases.

https://github.com/llvm/llvm-project/pull/186916


More information about the flang-commits mailing list