summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetData.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-09-10 20:55:01 +0000
committerDale Johannesen <dalej@apple.com>2010-09-10 20:55:01 +0000
commitbaa5d045c90729268ae6d5d4f08551e28fafde34 (patch)
treed481d904308310f73c8212369cbcfe3f23ee7763 /llvm/lib/Target/TargetData.cpp
parentd1d6f2ca46ad7e21494373b73acee3a03ecf132d (diff)
downloadbcm5719-llvm-baa5d045c90729268ae6d5d4f08551e28fafde34.tar.gz
bcm5719-llvm-baa5d045c90729268ae6d5d4f08551e28fafde34.zip
Add X86 MMX type to bitcode and Type.
(The Ada bindings probably need it too, but all the obvious places to change say "do not edit this file".) llvm-svn: 113618
Diffstat (limited to 'llvm/lib/Target/TargetData.cpp')
-rw-r--r--llvm/lib/Target/TargetData.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp
index f35c96dadce..74e95e779b8 100644
--- a/llvm/lib/Target/TargetData.cpp
+++ b/llvm/lib/Target/TargetData.cpp
@@ -461,6 +461,7 @@ uint64_t TargetData::getTypeSizeInBits(const Type *Ty) const {
case Type::FloatTyID:
return 32;
case Type::DoubleTyID:
+ case Type::X86_MMXTyID:
return 64;
case Type::PPC_FP128TyID:
case Type::FP128TyID:
OpenPOWER on IntegriCloud