We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e49ce5 commit 18b40dfCopy full SHA for 18b40df
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -109,9 +109,6 @@ bool VPRecipeBase::mayReadFromMemory() const {
109
case VPWidenLoadEVLSC:
110
case VPWidenLoadSC:
111
return true;
112
- case VPInterleaveEVLSC:
113
- case VPInterleaveSC:
114
- return cast<VPInterleaveBase>(this)->getNumStoreOperands() == 0;
115
case VPReplicateSC:
116
return cast<Instruction>(getVPSingleValue()->getUnderlyingValue())
117
->mayReadFromMemory();
@@ -147,6 +144,7 @@ bool VPRecipeBase::mayReadFromMemory() const {
147
144
return false;
148
145
}
149
146
default:
+ // FIXME: Return false if the recipe represents an interleaved store.
150
151
152
0 commit comments