summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-13 23:57:55 +0000
committerChris Lattner <sabre@nondot.org>2007-02-13 23:57:55 +0000
commit084c4ca591a6443ab0184c7deb5e7672f4c5b0a9 (patch)
tree9fce03ed9a36690d2ed1af219d4819ab9db9dba3 /llvm/lib
parent59b27fa371ef69819f2750da0de51dc367a20dc1 (diff)
downloadbcm5719-llvm-084c4ca591a6443ab0184c7deb5e7672f4c5b0a9.tar.gz
bcm5719-llvm-084c4ca591a6443ab0184c7deb5e7672f4c5b0a9.zip
better support for i128.
llvm-svn: 34258
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/ValueTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/ValueTypes.cpp b/llvm/lib/VMCore/ValueTypes.cpp
index e421d5d4303..33029fd2b3d 100644
--- a/llvm/lib/VMCore/ValueTypes.cpp
+++ b/llvm/lib/VMCore/ValueTypes.cpp
@@ -93,6 +93,7 @@ const Type *MVT::getTypeForValueType(MVT::ValueType VT) {
case MVT::i16: return Type::Int16Ty;
case MVT::i32: return Type::Int32Ty;
case MVT::i64: return Type::Int64Ty;
+ case MVT::i128: return IntegerType::get(128);
case MVT::f32: return Type::FloatTy;
case MVT::f64: return Type::DoubleTy;
case MVT::v8i8: return PackedType::get(Type::Int8Ty, 8);
OpenPOWER on IntegriCloud