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

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 09:52:04 PST 2023


================
@@ -14,24 +15,31 @@
 using namespace llvm;
 
 namespace {
-// Test fixture needed that holds the veariables needed by the parser.
+/// Perform tests against VFABI Rules. `invokeParser` creates a VFInfo object
+/// and a scalar FunctionType, which are used by tests to check that:
+/// 1. The scalar and vector names are correct.
+/// 2. The parameter number from the parsed mangled name matches the scalar ones
----------------
mgabka wrote:

nit: "The number of parameters from the parsed mangled name matches the number of arguments in the scalar function passed as FunctionType string."

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


More information about the llvm-commits mailing list