[all-commits] [llvm/llvm-project] 9bb47f: [Flang] Add Maxloc to fir simplify intrinsics pass...

David Green via All-commits all-commits at lists.llvm.org
Mon Dec 18 00:00:04 PST 2023


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

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

  Log Message:
  -----------
  [Flang] Add Maxloc to fir simplify intrinsics pass (#75463)

This takes the code from D144103 and extends it to maxloc, to allow the
simplifyMinMaxlocReduction method to work with both min and max
intrinsics by switching condition and limit/initial value.




More information about the All-commits mailing list