[all-commits] [llvm/llvm-project] c95fe9: Handle already masked Instructions.
Paschalis Mpeis via All-commits
all-commits at lists.llvm.org
Mon Dec 11 10:12:25 PST 2023
Branch: refs/heads/users/paschalis-mpeis/vfabi-create-functiontype
Home: https://github.com/llvm/llvm-project
Commit: c95fe95111af988881865a327fd5641d9ca6239d
https://github.com/llvm/llvm-project/commit/c95fe95111af988881865a327fd5641d9ca6239d
Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/unittests/Analysis/VectorFunctionABITest.cpp
Log Message:
-----------
Handle already masked Instructions.
'createFunctionType' should be able to create the correct FunctionType,
regardless of whether the input Instruction was masked or not.
It uses VFInfo to figure out if the input Instruction was already
masked, and if so it does not append another mask Type.
In checks, create two mock CallInsts, one with a mask and one without
and verify that they have the same number of parameters.
More information about the All-commits
mailing list