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

Kolya Panchenko via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 08:09:52 PDT 2024


================
@@ -1433,6 +1440,45 @@ class VPWidenRecipe : public VPRecipeWithIRFlags {
 #endif
 };
 
+class VPWidenEVLRecipe : public VPWidenRecipe {
+  using VPRecipeWithIRFlags::transferFlags;
+
+public:
+  template <typename IterT>
+  VPWidenEVLRecipe(Instruction &I, iterator_range<IterT> Operands, VPValue &EVL)
----------------
nikolaypanchenko wrote:

`VPWidenRecipe` has no explicit mask operand, so better to keep this PR as simple as possible.

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


More information about the llvm-commits mailing list