[llvm] [VPlan] Use pointer to member 0 as VPInterleaveRecipe's pointer arg. (PR #106431)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 5 13:37:52 PDT 2024


================
@@ -1323,6 +1322,13 @@ class VPInstruction : public VPRecipeWithIRFlags,
     assert(Opcode == Instruction::Or && "only OR opcodes can be disjoint");
   }
 
+  VPInstruction(VPValue *Ptr, VPValue *Offset, GEPFlagsTy Flags = {false},
----------------
ayalz wrote:

```suggestion
  VPInstruction(VPValue *Ptr, VPValue *Offset, GEPFlagsTy Flags,
```
default unneeded and may lead to potential ambiguation?

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


More information about the llvm-commits mailing list