[all-commits] [llvm/llvm-project] dd57f6: [flang] Use reduction recognition friendly pattern...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Apr 8 09:03:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd57f60e6ef60883709489c3d727e52d7322ec0b
      https://github.com/llvm/llvm-project/commit/dd57f60e6ef60883709489c3d727e52d7322ec0b
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
    M flang/test/HLFIR/simplify-hlfir-intrinsics-count.fir

  Log Message:
  -----------
  [flang] Use reduction recognition friendly pattern for hlfir.count. (#190856)

The change is to select between `0` and `1` based on the condition
and then add the result to the current reduction value.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list