diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h b/contrib/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h index f009a7ee6b4b..7a6bc48e2aee 100644 --- a/contrib/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h +++ b/contrib/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h @@ -1187,15 +1187,19 @@ class VPWidenPointerInductionRecipe : public VPHeaderPHIRecipe {    /// explicitly.    ScalarEvolution &SE; +  bool IsScalarAfterVectorization; +  public:    /// Create a new VPWidenPointerInductionRecipe for \p Phi with start value \p    /// Start.    VPWidenPointerInductionRecipe(PHINode *Phi, VPValue *Start,                                  const InductionDescriptor &IndDesc, -                                ScalarEvolution &SE) +                                ScalarEvolution &SE, +                                bool IsScalarAfterVectorization)        : VPHeaderPHIRecipe(VPVWidenPointerInductionSC, VPWidenPointerInductionSC,                            Phi), -        IndDesc(IndDesc), SE(SE) { +        IndDesc(IndDesc), SE(SE), +        IsScalarAfterVectorization(IsScalarAfterVectorization) {      addOperand(Start);    }  | 
