[llvm] [LV, VP]VP intrinsics support for the Loop Vectorizer + adding new tail-folding mode using EVL. (PR #76172)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 24 06:40:00 PDT 2024
================
@@ -1172,6 +1172,45 @@ static VPActiveLaneMaskPHIRecipe *addVPLaneMaskPhiAndUpdateExitBranch(
return LaneMaskPhi;
}
+/// Replaces (ICMP_ULE, WideCanonicalIV, backedge-taken-count) pattern using
+/// the given idiom \p Idiom.
+static void replaceHeaderPredicateWithIdiom(
----------------
ayalz wrote:
Note that RAUW and replaceUsesWithIf have only "With", leaving the with-what Idiom to the parameter only. Have `replaceHeaderPredicateWith()` consistently?
https://github.com/llvm/llvm-project/pull/76172
More information about the llvm-commits
mailing list