mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[MVT] Fix getTypeForEVT for v64f16 and v128f16
Summary: These should have half float as the element type Reviewers: cameron.mcinally, efriedma, sdesmalen, paulwalker-arm Reviewed By: paulwalker-arm Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D84211
This commit is contained in:
parent
d8f0eb5cfe
commit
6bb7a94e25
@ -307,9 +307,9 @@ Type *EVT::getTypeForEVT(LLVMContext &Context) const {
|
||||
case MVT::v32f16:
|
||||
return FixedVectorType::get(Type::getHalfTy(Context), 32);
|
||||
case MVT::v64f16:
|
||||
return FixedVectorType::get(Type::getBFloatTy(Context), 64);
|
||||
return FixedVectorType::get(Type::getHalfTy(Context), 64);
|
||||
case MVT::v128f16:
|
||||
return FixedVectorType::get(Type::getBFloatTy(Context), 128);
|
||||
return FixedVectorType::get(Type::getHalfTy(Context), 128);
|
||||
case MVT::v2bf16:
|
||||
return FixedVectorType::get(Type::getBFloatTy(Context), 2);
|
||||
case MVT::v3bf16:
|
||||
|
Loading…
Reference in New Issue
Block a user