[llvm] [LV][EVL] Support cast instruction with EVL-vectorization (PR #108351)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 05:05:49 PST 2024


================
@@ -1446,7 +1446,8 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
   VPTypeAnalysis TypeInfo(CanonicalIVType);
   LLVMContext &Ctx = CanonicalIVType->getContext();
   SmallVector<VPValue *> HeaderMasks = collectAllHeaderMasks(Plan);
-
+  VPValue *AllOneMask =
----------------
LiqinWeng wrote:

Sorry, I don't understand what you mean, the vp.select does not have a mask parameter. `declare <16 x i32>  @llvm.vp.select.v16i32 (<16 x i1> <condition>, <16 x i32> <on_true>, <16 x i32> <on_false>, i32 <evl>)`

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


More information about the llvm-commits mailing list