Skip to content

Commit 6d8209a

Browse files
committed
[VPlan] Fix typo in assertion. NFC
1 parent 8204931 commit 6d8209a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,9 @@ struct Recipe_match {
221221
if ((!matchRecipeAndOpcode<RecipeTys>(R) && ...))
222222
return false;
223223

224-
assert(R->getNumOperands() == std::tuple_size<Ops_t>::value &&
225-
"recipe with matched opcode the expected number of operands");
224+
assert(
225+
R->getNumOperands() == std::tuple_size<Ops_t>::value &&
226+
"recipe with matched opcode without the expected number of operands");
226227

227228
auto IdxSeq = std::make_index_sequence<std::tuple_size<Ops_t>::value>();
228229
if (all_of_tuple_elements(IdxSeq, [R](auto Op, unsigned Idx) {

0 commit comments

Comments
 (0)