================
@@ -2725,9 +2725,17 @@ class VPAliasLaneMaskRecipe : public VPSingleDefRecipe {
   /// Get the VPValue* for the pointer being read from
   VPValue *getSourceValue() const { return getOperand(0); }
 
+  // Get the size of the element(s) accessed by the pointers
+  unsigned getAccessedElementSize() const {
+    return ElementSize;
+  }
+
   /// Get the VPValue* for the pointer being stored to
   VPValue *getSinkValue() const { return getOperand(1); }
 
+private:
+  unsigned ElementSize;
+
----------------
SamTebbs33 wrote:

This need to be moved above `public` or below `print`.

https://github.com/llvm/llvm-project/pull/100579
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to