[llvm-commits] CVS: llvm/lib/VMCore/ValueTypes.cpp
Dan Gohman
djg at cray.com
Thu May 24 07:29:35 PDT 2007
Changes in directory llvm/lib/VMCore:
ValueTypes.cpp updated: 1.17 -> 1.18
---
Log message:
Add cases for v2f32.
---
Diffs of the changes: (+2 -0)
ValueTypes.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/VMCore/ValueTypes.cpp
diff -u llvm/lib/VMCore/ValueTypes.cpp:1.17 llvm/lib/VMCore/ValueTypes.cpp:1.18
--- llvm/lib/VMCore/ValueTypes.cpp:1.17 Sat Apr 28 00:38:52 2007
+++ llvm/lib/VMCore/ValueTypes.cpp Thu May 24 09:29:12 2007
@@ -43,6 +43,7 @@
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 @@
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);
}
More information about the llvm-commits
mailing list