[flang-commits] [flang] [flang] Expand SUM(DIM=CONSTANT) into an hlfir.elemental. (PR #118556)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Mon Dec 9 15:34:28 PST 2024


vzakhari wrote:

Just FYI, it seems the `SUM(DIM)` case in `digits_2` might be optimized further by proving that the LHS and RHS accesses never overlap.  Flang creates an unnecessary temp currently.

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


More information about the flang-commits mailing list