[flang-commits] [flang] [Flang] Generate inline reduction loops for elemental count intrinsics (PR #75774)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Dec 18 02:36:34 PST 2023


tblah wrote:

Thanks for your work on this!

I think creating operations that are legalized by the same pass should work. But you need to create the correct listeners. See https://github.com/llvm/llvm-project/blob/9e3d915d8ebf86e24c9ff58766be8e7c6aa7b0c0/flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp#L729

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


More information about the flang-commits mailing list