[all-commits] [llvm/llvm-project] ddb6db: [VFABI] Create FunctionType for vector functions (...
Paschalis Mpeis via All-commits
all-commits at lists.llvm.org
Tue Dec 19 04:05:41 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddb6db4d091ac9be52cf57e32d9dd6e7b1ec01b6
https://github.com/llvm/llvm-project/commit/ddb6db4d091ac9be52cf57e32d9dd6e7b1ec01b6
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VFABIDemangling.cpp
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/unittests/Analysis/VectorFunctionABITest.cpp
Log Message:
-----------
[VFABI] Create FunctionType for vector functions (#75058)
`createFunctionType` returns a FunctionType that may contain a mask,
which is currently placed as the last parameter to the Function.
The placement happens according to `VFParameters` of `VFInfo`, and it
should be able to handle VFABI specification changes.
Regarding the return type, it uses the scalar type of the input instruction,
as the specification does not encode in the mangled name such information.
If that ever happens, that information should be available from `VFInfo`.
More information about the All-commits
mailing list