[llvm] [LV] Support binary and unary operations with EVL-vectorization (PR #93854)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 20:59:23 PDT 2024


================
@@ -1405,6 +1407,66 @@ void VPlanTransforms::addActiveLaneMask(
     HeaderMask->replaceAllUsesWith(LaneMask);
 }
 
+/// Replace recipes with their EVL variants.
+static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
+  VPDominatorTree VPDT;
+  VPDT.recalculate(Plan);
+  SmallVector<VPRecipeBase *> ToRemove;
----------------
LiqinWeng wrote:

Unused, pls remove

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


More information about the llvm-commits mailing list