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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 02:28:08 PDT 2024


================
@@ -1333,13 +1335,18 @@ class VPInstruction : public VPRecipeWithIRFlags {
 /// ingredient. This recipe covers most of the traditional vectorization cases
 /// where each ingredient transforms into a vectorized version of itself.
 class VPWidenRecipe : public VPRecipeWithIRFlags {
+protected:
   unsigned Opcode;
----------------
fhahn wrote:

sufficient to leave this private and use `getOpcode` in the subclass?

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


More information about the llvm-commits mailing list