[all-commits] [llvm/llvm-project] c07a3d: Simplified createFunctionType method
Paschalis Mpeis via All-commits
all-commits at lists.llvm.org
Wed Dec 13 01:36:41 PST 2023
Branch: refs/heads/users/paschalis-mpeis/vfabi-create-functiontype
Home: https://github.com/llvm/llvm-project
Commit: c07a3dabe1e63b53498b84da6d0f04a522d79d86
https://github.com/llvm/llvm-project/commit/c07a3dabe1e63b53498b84da6d0f04a522d79d86
Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
Date: 2023-12-13 (Wed, 13 Dec 2023)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/unittests/Analysis/VectorFunctionABITest.cpp
Log Message:
-----------
Simplified createFunctionType method
It accepts ScalarFTy and VecRetTy. As the latter is not kept in VFABI,
it should instead come from the original Instruction/Callinst.
This change allows further simplification in tests. Also, methods like
the test `_ZGVnN3lLRUlnLnRnUn_foo`, which contains only scalar parameters,
would still return a valid FunctionType. This is an edge case that will
only be encountered in tests though.
More information about the All-commits
mailing list