[llvm] [LV] Support argmin/argmax with strict predicates. (PR #170223)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 24 13:58:11 PST 2026


================
@@ -166,9 +168,11 @@ struct VPlanTransforms {
                                         const TargetLibraryInfo &TLI);
 
   /// Try to legalize reductions with multiple in-loop uses. Currently only
-  /// min/max reductions used by FindLastIV reductions are supported. Otherwise
-  /// return false.
-  static bool handleMultiUseReductions(VPlan &Plan);
+  /// min/max reductions used by FindLastIV and FindFirstIV reductions are
+  /// supported. Otherwise return false.
----------------
fhahn wrote:

updated , thanks

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


More information about the llvm-commits mailing list