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 77ab274 commit f9ce240Copy full SHA for f9ce240
llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
@@ -155,14 +155,6 @@ struct Recipe_match {
155
if ((!matchRecipeAndOpcode<RecipeTys>(R) && ...))
156
return false;
157
158
- if (!(std::is_same_v<VPWidenEVLRecipe, RecipeTys> || ...) &&
159
- isa<VPWidenEVLRecipe>(R)) {
160
- // Don't match VPWidenEVLRecipe if it is not explicitly part of RecipeTys.
161
- // Otherwise we might match it unexpectedly when trying to match
162
- // VPWidenRecipe, of which VPWidenEVLRecipe is a subclass of.
163
- return false;
164
- }
165
-
166
assert(R->getNumOperands() == std::tuple_size<Ops_t>::value &&
167
"recipe with matched opcode the expected number of operands");
168
0 commit comments