[llvm] 3883b27 - [VPlan] Fix typo in assertion. NFC (#137009)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 24 01:36:35 PDT 2025
Author: Luke Lau
Date: 2025-04-24T16:36:32+08:00
New Revision: 3883b27ba8a85c0228d5e49cb59d127d14dd0f8d
URL: https://github.com/llvm/llvm-project/commit/3883b27ba8a85c0228d5e49cb59d127d14dd0f8d
DIFF: https://github.com/llvm/llvm-project/commit/3883b27ba8a85c0228d5e49cb59d127d14dd0f8d.diff
LOG: [VPlan] Fix typo in assertion. NFC (#137009)
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h b/llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
index f38eb3cc8d43f..58865c296ed8a 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
@@ -222,7 +222,8 @@ struct Recipe_match {
return false;
assert(R->getNumOperands() == std::tuple_size<Ops_t>::value &&
- "recipe with matched opcode the expected number of operands");
+ "recipe with matched opcode does not have the expected number of "
+ "operands");
auto IdxSeq = std::make_index_sequence<std::tuple_size<Ops_t>::value>();
if (all_of_tuple_elements(IdxSeq, [R](auto Op, unsigned Idx) {
More information about the llvm-commits
mailing list