Skip to content

Commit a4819bd

Browse files
committed
[VPlan] Restore case accidentially dropped in 34cdd67.
34cdd67 accidentially dropped the case for VPWidenIntrinsicSC. Add it back again. Thanks @Mel-Chen for spotting this.
1 parent 1d9b322 commit a4819bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ bool VPRecipeBase::mayWriteToMemory() const {
8181
return !cast<VPWidenCallRecipe>(this)
8282
->getCalledScalarFunction()
8383
->onlyReadsMemory();
84+
case VPWidenIntrinsicSC:
8485
return cast<VPWidenIntrinsicRecipe>(this)->mayWriteToMemory();
8586
case VPBranchOnMaskSC:
8687
case VPScalarIVStepsSC:

0 commit comments

Comments
 (0)