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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 01:47:40 PST 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()) {}
+
----------------
fhahn wrote:

This should be removed?

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


More information about the llvm-commits mailing list