diff options
| author | Francesco Petrogalli <francesco.petrogalli@apple.com> | 2024-02-08 16:54:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-08 16:54:12 +0100 |
| commit | fffcc5ca83ad2700a3586c1b849a36c6081e2023 (patch) | |
| tree | dab9024aee4d07f063e9d59be4f4e6f8fa0c79ba /llvm/lib/CodeGen/ValueTypes.cpp | |
| parent | dc5da4851de5d29dd040d85a8387e2e5b4b12b7b (diff) | |
[CodeGen] Add ValueType v3i8 (NFCI). (#80826)
Diffstat (limited to 'llvm/lib/CodeGen/ValueTypes.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/ValueTypes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ValueTypes.cpp b/llvm/lib/CodeGen/ValueTypes.cpp index ba3b9e00e34e..731fcabaee40 100644 --- a/llvm/lib/CodeGen/ValueTypes.cpp +++ b/llvm/lib/CodeGen/ValueTypes.cpp @@ -264,6 +264,8 @@ Type *EVT::getTypeForEVT(LLVMContext &Context) const { return FixedVectorType::get(Type::getInt8Ty(Context), 1); case MVT::v2i8: return FixedVectorType::get(Type::getInt8Ty(Context), 2); + case MVT::v3i8: + return FixedVectorType::get(Type::getInt8Ty(Context), 3); case MVT::v4i8: return FixedVectorType::get(Type::getInt8Ty(Context), 4); case MVT::v8i8: |
