[llvm] [LV] Support argmin/argmax with strict predicates. (PR #170223)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 18 05:59:20 PST 2025
================
@@ -1120,6 +1122,133 @@ bool VPlanTransforms::handleMaxMinNumReductions(VPlan &Plan) {
return true;
}
+/// For argmin/argmax reductions with strict predicates, convert the existing
+/// FindLastIV reduction to a new UMin reduction of a wide canonical IV. If the
----------------
ayalz wrote:
```suggestion
/// FindFirstIV reduction to a new UMin reduction of a wide canonical IV. If the
```
https://github.com/llvm/llvm-project/pull/170223
More information about the llvm-commits
mailing list