Skip to content

Commit d46752d

Browse files
committed
Make VPReverVectorPointer return false in mayHaveSideEffects
1 parent 0a500c7 commit d46752d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ bool VPRecipeBase::mayHaveSideEffects() const {
154154
case VPDerivedIVSC:
155155
case VPPredInstPHISC:
156156
case VPScalarCastSC:
157+
case VPReverseVectorPointerSC:
157158
return false;
158159
case VPInstructionSC:
159160
return mayWriteToMemory();

0 commit comments

Comments
 (0)