[all-commits] [llvm/llvm-project] 701f64: [Flang] Allow Intrinsic simpification with min/max...

David Green via All-commits all-commits at lists.llvm.org
Wed Dec 20 04:12:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 701f64790520790f75b1f948a752472d421ddaa3
      https://github.com/llvm/llvm-project/commit/701f64790520790f75b1f948a752472d421ddaa3
  Author: David Green <david.green at arm.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/test/Transforms/simplifyintrinsics.fir

  Log Message:
  -----------
  [Flang] Allow Intrinsic simpification with min/maxloc dim and scalar result. (#75820)

This makes an adjustment to the existing fir minloc/maxloc generation
code to handle functions with a dim=1 that produce a scalar result. This
should allow us to get the same benefits as the existing generated
minmax reductions.




More information about the All-commits mailing list