From 58764ddccda99039174ca572c6a94393c290f8ac Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Fri, 19 Apr 2024 15:14:13 +0100 Subject: Add IIT_V10 to support 10-element vectors in intrinsics (#89383) Needed for a future patch. --- llvm/lib/IR/Function.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/IR/Function.cpp') diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp index 10cb6e7..e66fe73 100644 --- a/llvm/lib/IR/Function.cpp +++ b/llvm/lib/IR/Function.cpp @@ -1172,6 +1172,10 @@ static void DecodeIITType(unsigned &NextElt, ArrayRef Infos, OutputTable.push_back(IITDescriptor::getVector(8, IsScalableVector)); DecodeIITType(NextElt, Infos, Info, OutputTable); return; + case IIT_V10: + OutputTable.push_back(IITDescriptor::getVector(10, IsScalableVector)); + DecodeIITType(NextElt, Infos, Info, OutputTable); + return; case IIT_V16: OutputTable.push_back(IITDescriptor::getVector(16, IsScalableVector)); DecodeIITType(NextElt, Infos, Info, OutputTable); -- cgit v1.1