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

Kito Cheng via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 19:52:09 PDT 2024


================
@@ -1677,6 +1677,15 @@ class VPWidenIntrinsicRecipe : public VPRecipeWithIRFlags {
         MayWriteToMemory(CI.mayWriteToMemory()),
         MayHaveSideEffects(CI.mayHaveSideEffects()) {}
 
+  // VPWidenIntrinsicRecipe(CastInst &CI, Intrinsic::ID VectorIntrinsicID,
+  //                        ArrayRef<VPValue *> CallArguments, Type *Ty,
+  //                        DebugLoc DL = {})
+  //     : VPRecipeWithIRFlags(VPDef::VPWidenIntrinsicSC, CallArguments, CI),
+  //       VectorIntrinsicID(VectorIntrinsicID), ResultTy(Ty),
+  //       MayReadFromMemory(CI.mayReadFromMemory()),
+  //       MayWriteToMemory(CI.mayWriteToMemory()),
+  //       MayHaveSideEffects(CI.mayHaveSideEffects()) {}
+
----------------
kito-cheng wrote:

It seems...still there?

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


More information about the llvm-commits mailing list