forked from OSchip/llvm-project
Teach TableGen about the new vector types.
llvm-svn: 40513
This commit is contained in:
parent
b50f1e4103
commit
c9ea29456a
|
@ -61,6 +61,8 @@ std::string llvm::getName(MVT::ValueType T) {
|
|||
case MVT::v2f32: return "MVT::v2f32";
|
||||
case MVT::v4f32: return "MVT::v4f32";
|
||||
case MVT::v2f64: return "MVT::v2f64";
|
||||
case MVT::v3i32: return "MVT::v3i32";
|
||||
case MVT::v3f32: return "MVT::v3f32";
|
||||
case MVT::iPTR: return "TLI.getPointerTy()";
|
||||
default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
|
||||
}
|
||||
|
@ -93,6 +95,8 @@ std::string llvm::getEnumName(MVT::ValueType T) {
|
|||
case MVT::v2f32: return "MVT::v2f32";
|
||||
case MVT::v4f32: return "MVT::v4f32";
|
||||
case MVT::v2f64: return "MVT::v2f64";
|
||||
case MVT::v3i32: return "MVT::v3i32";
|
||||
case MVT::v3f32: return "MVT::v3f32";
|
||||
case MVT::iPTR: return "TLI.getPointerTy()";
|
||||
default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue