[llvm] [VPlan] Fix typo in assertion. NFC (PR #137009)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 10:47:24 PDT 2025


================
@@ -221,8 +221,9 @@ struct Recipe_match {
     if ((!matchRecipeAndOpcode<RecipeTys>(R) && ...))
       return false;
 
-    assert(R->getNumOperands() == std::tuple_size<Ops_t>::value &&
-           "recipe with matched opcode the expected number of operands");
+    assert(
+        R->getNumOperands() == std::tuple_size<Ops_t>::value &&
+        "recipe with matched opcode without the expected number of operands");
----------------
fhahn wrote:

the 2 `without` make it a bit hard to grep, maybe something like that would be clearer?
```suggestion
        "recipe with matched opcode does not have the expected number of operands");
```



https://github.com/llvm/llvm-project/pull/137009


More information about the llvm-commits mailing list