diff --git a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp index c08eed05d4309a..849f3f8f5cc1e7 100644 --- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp +++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp @@ -54,13 +54,13 @@ bool VPRecipeBase::mayWriteToMemory() const { case VPScalarIVStepsSC: case VPPredInstPHISC: return false; - case VPWidenIntOrFpInductionSC: + case VPBlendSC: + case VPReductionSC: case VPWidenCanonicalIVSC: + case VPWidenGEPSC: + case VPWidenIntOrFpInductionSC: case VPWidenPHISC: - case VPBlendSC: case VPWidenSC: - case VPWidenGEPSC: - case VPReductionSC: case VPWidenSelectSC: { const Instruction *I = dyn_cast_or_null(getVPSingleValue()->getUnderlyingValue()); @@ -87,13 +87,13 @@ bool VPRecipeBase::mayReadFromMemory() const { case VPScalarIVStepsSC: case VPPredInstPHISC: return false; - case VPWidenIntOrFpInductionSC: + case VPBlendSC: + case VPReductionSC: case VPWidenCanonicalIVSC: + case VPWidenGEPSC: + case VPWidenIntOrFpInductionSC: case VPWidenPHISC: - case VPBlendSC: case VPWidenSC: - case VPWidenGEPSC: - case VPReductionSC: case VPWidenSelectSC: { const Instruction *I = dyn_cast_or_null(getVPSingleValue()->getUnderlyingValue()); @@ -123,17 +123,17 @@ bool VPRecipeBase::mayHaveSideEffects() const { case VPWidenCallSC: return cast(getVPSingleValue()->getUnderlyingValue()) ->mayHaveSideEffects(); - case VPWidenIntOrFpInductionSC: + case VPBlendSC: case VPFirstOrderRecurrencePHISC: - case VPWidenPointerInductionSC: + case VPReductionSC: + case VPScalarIVStepsSC: case VPWidenCanonicalIVSC: + case VPWidenGEPSC: + case VPWidenIntOrFpInductionSC: case VPWidenPHISC: - case VPBlendSC: + case VPWidenPointerInductionSC: case VPWidenSC: - case VPWidenGEPSC: - case VPReductionSC: - case VPWidenSelectSC: - case VPScalarIVStepsSC: { + case VPWidenSelectSC: { const Instruction *I = dyn_cast_or_null(getVPSingleValue()->getUnderlyingValue()); (void)I;