[all-commits] [llvm/llvm-project] 3574b6: [VFABI] Reject demangled variants with unexpected ...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Mon Jan 8 00:42:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3574b61013b341c96d5c9b7d2ca5480a398586b3
      https://github.com/llvm/llvm-project/commit/3574b61013b341c96d5c9b7d2ca5480a398586b3
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M llvm/lib/Analysis/VFABIDemangling.cpp
    M llvm/unittests/Analysis/VectorFunctionABITest.cpp

  Log Message:
  -----------
  [VFABI] Reject demangled variants with unexpected number of params. (#76855)

When demangling a vector variant we are not checking that the number of
parameters is the same as that of the scalar function. This check is
hoisted out of getScalableECFromSignature() making the equvalent check
in the unittests obsolete.




More information about the All-commits mailing list