[llvm] [LV]Initial support for safe distance in predicated DataWithEVL vectorization mode. (PR #102897)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 16:08:27 PDT 2024


================
@@ -1337,7 +1337,23 @@ void VPlanTransforms::addActiveLaneMask(
 /// %NextEVLIV = add IVSize (cast i32 %VPEVVL to IVSize), %EVLPhi
 /// ...
 ///
-bool VPlanTransforms::tryAddExplicitVectorLength(VPlan &Plan) {
+/// If MaxEVLSafeElements is provided, the function adds the following recipes:
----------------
ayalz wrote:

What's the definition of MaxEVLSafeElements, how/why does it differ from MaxSafeElements?

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


More information about the llvm-commits mailing list