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

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 3 07:38:30 PST 2023


================
@@ -103,6 +85,14 @@ 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. This requires a correct scalar FunctionType string to be fed
+  // to the 'invokeParser'. It takes into account that vectorized calls may also
+  // have a Mask.
----------------
mgabka wrote:

you started changing the comments to follow the doxygen style comments, so worth to do it here as well.

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


More information about the llvm-commits mailing list