[llvm] [VFABI] Improve VFABI unit tests (PR #73907)

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 00:46:53 PST 2023


================
@@ -103,6 +94,12 @@ class VFABIParserTest : public ::testing::Test {
     return NGlobalPreds == 1 && Info.Shape.Parameters.back().ParamKind ==
                                     VFParamKind::GlobalPredicate;
   }
+
+  // Checks that the number of vectorized parameters matches the scalar ones.
+  // Takes into account that vectorized calls may also have a Mask.
----------------
mgabka wrote:

could be worth to add that it requires correct ScalarFunction type to be used in the "invokeParser"

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


More information about the llvm-commits mailing list