diff options
author | Jay Foad <jay.foad@amd.com> | 2024-04-19 15:14:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 15:14:13 +0100 |
commit | 58764ddccda99039174ca572c6a94393c290f8ac (patch) | |
tree | 8fc99d14e80b400f429c4330ddb3c140f09cf036 /llvm/lib/IR/Function.cpp | |
parent | 9a07d7ea9b37a5b537fc8099cc5744f44da29abc (diff) | |
download | llvm-58764ddccda99039174ca572c6a94393c290f8ac.zip llvm-58764ddccda99039174ca572c6a94393c290f8ac.tar.gz llvm-58764ddccda99039174ca572c6a94393c290f8ac.tar.bz2 |
Add IIT_V10 to support 10-element vectors in intrinsics (#89383)
Needed for a future patch.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r-- | llvm/lib/IR/Function.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<unsigned char> 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); |