mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add cases for v2f32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37319 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c843abe868
commit
d520559d58
@ -43,6 +43,7 @@ const char *MVT::getValueTypeString(MVT::ValueType VT) {
|
||||
case MVT::v8i16: return "v8i16";
|
||||
case MVT::v4i32: return "v4i32";
|
||||
case MVT::v2i64: return "v2i64";
|
||||
case MVT::v2f32: return "v2f32";
|
||||
case MVT::v4f32: return "v4f32";
|
||||
case MVT::v2f64: return "v2f64";
|
||||
}
|
||||
@ -106,6 +107,7 @@ const Type *MVT::getTypeForValueType(MVT::ValueType VT) {
|
||||
case MVT::v8i16: return VectorType::get(Type::Int16Ty, 8);
|
||||
case MVT::v4i32: return VectorType::get(Type::Int32Ty, 4);
|
||||
case MVT::v2i64: return VectorType::get(Type::Int64Ty, 2);
|
||||
case MVT::v2f32: return VectorType::get(Type::FloatTy, 2);
|
||||
case MVT::v4f32: return VectorType::get(Type::FloatTy, 4);
|
||||
case MVT::v2f64: return VectorType::get(Type::DoubleTy, 2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user