Skip to content

Commit f9ce240

Browse files
committed
Remove VPWidenEVLRecipe pattern match check
1 parent 77ab274 commit f9ce240

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,6 @@ struct Recipe_match {
155155
if ((!matchRecipeAndOpcode<RecipeTys>(R) && ...))
156156
return false;
157157

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-
166158
assert(R->getNumOperands() == std::tuple_size<Ops_t>::value &&
167159
"recipe with matched opcode the expected number of operands");
168160

0 commit comments

Comments
 (0)