[TLI] Use the VFABI demangling when declaring vector variants. (#76753)
commitec7a231b30e5dcbaa2fe20ba9a793bffed4ea2cf
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Wed, 3 Jan 2024 14:28:52 +0000 (3 14:28 +0000)
committerGitHub <noreply@github.com>
Wed, 3 Jan 2024 14:28:52 +0000 (3 14:28 +0000)
treeead0562c9a47724b0d988c49f0e19cc79820d14e
parenta93c17c9ab7aa7b394313898e0db7aae6adeeaa4
[TLI] Use the VFABI demangling when declaring vector variants. (#76753)

When creating a declaration for a vector variant, in order to determine
the argument types we need to consult the VFABI demangler. This will
allow us to add TLI mappings with linear arguments (see #76060).
llvm/lib/Transforms/Utils/InjectTLIMappings.cpp
llvm/test/Transforms/Util/add-TLI-mappings.ll