[flang-commits] [flang] [flang][hlfir] Optimize MINLOC/MAXLOC with equality mask (PR #211722)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Thu Sep 17 18:54:39 PDT 2026


https://github.com/vzakhari requested changes to this pull request.

I see at least a couple of potential correctness issues (see inlined).

Have you considered matching backward from the loop terminator? I think it will be clearer this way.

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


More information about the flang-commits mailing list