diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2015-11-24 16:28:14 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2015-11-24 16:28:14 +0000 |
commit | b8bb90b744852bfdd36198fd2d435d4115f56780 (patch) | |
tree | 7a00962ae56104d3ab676f7b06590acd2ef21b38 /llvm/lib/IR/Function.cpp | |
parent | 17626654fd454c6fd2a683cb303612a1cda54ef8 (diff) | |
download | llvm-b8bb90b744852bfdd36198fd2d435d4115f56780.zip llvm-b8bb90b744852bfdd36198fd2d435d4115f56780.tar.gz llvm-b8bb90b744852bfdd36198fd2d435d4115f56780.tar.bz2 |
Add vector types for intrinsics
Author: Ron Lieberman <ronl@codeaurora.org>
llvm-svn: 253992
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r-- | llvm/lib/IR/Function.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp index ccdb5ac..97e2a84 100644 --- a/llvm/lib/IR/Function.cpp +++ b/llvm/lib/IR/Function.cpp @@ -560,7 +560,9 @@ enum IIT_Info { IIT_SAME_VEC_WIDTH_ARG = 31, IIT_PTR_TO_ARG = 32, IIT_VEC_OF_PTRS_TO_ELT = 33, - IIT_I128 = 34 + IIT_I128 = 34, + IIT_V512 = 35, + IIT_V1024 = 36 }; @@ -641,6 +643,14 @@ static void DecodeIITType(unsigned &NextElt, ArrayRef<unsigned char> Infos, OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 64)); DecodeIITType(NextElt, Infos, OutputTable); return; + case IIT_V512: + OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 512)); + DecodeIITType(NextElt, Infos, OutputTable); + return; + case IIT_V1024: + OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 1024)); + DecodeIITType(NextElt, Infos, OutputTable); + return; case IIT_PTR: OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 0)); DecodeIITType(NextElt, Infos, OutputTable); |