mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add the new vector types to tablegen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f73bae1b73
commit
02fc8ff800
@ -46,6 +46,12 @@ std::string llvm::getName(MVT::ValueType T) {
|
||||
case MVT::f80: return "f80";
|
||||
case MVT::f128: return "f128";
|
||||
case MVT::isVoid:return "void";
|
||||
case MVT::v16i8: return "v16i8";
|
||||
case MVT::v8i16: return "v8i16";
|
||||
case MVT::v4i32: return "v4i32";
|
||||
case MVT::v2i64: return "v2i64";
|
||||
case MVT::v4f32: return "v4f32";
|
||||
case MVT::v2f64: return "v2f64";
|
||||
default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
|
||||
}
|
||||
}
|
||||
@ -64,6 +70,12 @@ std::string llvm::getEnumName(MVT::ValueType T) {
|
||||
case MVT::f80: return "f80";
|
||||
case MVT::f128: return "f128";
|
||||
case MVT::isVoid:return "isVoid";
|
||||
case MVT::v16i8: return "v16i8";
|
||||
case MVT::v8i16: return "v8i16";
|
||||
case MVT::v4i32: return "v4i32";
|
||||
case MVT::v2i64: return "v2i64";
|
||||
case MVT::v4f32: return "v4f32";
|
||||
case MVT::v2f64: return "v2f64";
|
||||
default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user