diff options
author | Stanislav Mekhanoshin <rampitec@users.noreply.github.com> | 2024-04-12 10:15:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 10:15:59 -0700 |
commit | dcd097c475163b9bd41ff009a9157e86c6f2f171 (patch) | |
tree | d4f4296e519ad53835b7a5894df3683a1b1db415 /llvm/lib/IR/Function.cpp | |
parent | d61edecbfd099143e0e2617505fec921524938f8 (diff) | |
download | llvm-dcd097c475163b9bd41ff009a9157e86c6f2f171.zip llvm-dcd097c475163b9bd41ff009a9157e86c6f2f171.tar.gz llvm-dcd097c475163b9bd41ff009a9157e86c6f2f171.tar.bz2 |
Add IIT_V6 to support 6-element vectors in intrinsics. (#88196)
Needed for the 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 b5fda9b..96953ac 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(4, IsScalableVector)); DecodeIITType(NextElt, Infos, Info, OutputTable); return; + case IIT_V6: + OutputTable.push_back(IITDescriptor::getVector(6, IsScalableVector)); + DecodeIITType(NextElt, Infos, Info, OutputTable); + return; case IIT_V8: OutputTable.push_back(IITDescriptor::getVector(8, IsScalableVector)); DecodeIITType(NextElt, Infos, Info, OutputTable); |