summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetData.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-15 02:26:10 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-15 02:26:10 +0000
commitd84d35ba70296aca01d3c48ab9088b0515619fd9 (patch)
tree1badc3977131947db9d60139549cbdb3898ffb09 /llvm/lib/Target/TargetData.cpp
parentdad84a7c0203636b30f98d6d2315bf5af0ec6046 (diff)
downloadbcm5719-llvm-d84d35ba70296aca01d3c48ab9088b0515619fd9.tar.gz
bcm5719-llvm-d84d35ba70296aca01d3c48ab9088b0515619fd9.zip
For PR1195:
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
Diffstat (limited to 'llvm/lib/Target/TargetData.cpp')
-rw-r--r--llvm/lib/Target/TargetData.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp
index a07c69fc0c6..ed9d84661da 100644
--- a/llvm/lib/Target/TargetData.cpp
+++ b/llvm/lib/Target/TargetData.cpp
@@ -414,8 +414,8 @@ uint64_t TargetData::getTypeSize(const Type *Ty) const {
return 4;
case Type::DoubleTyID:
return 8;
- case Type::PackedTyID: {
- const PackedType *PTy = cast<PackedType>(Ty);
+ case Type::VectorTyID: {
+ const VectorType *PTy = cast<VectorType>(Ty);
return PTy->getBitWidth() / 8;
}
default:
@@ -483,7 +483,7 @@ unsigned char TargetData::getAlignment(const Type *Ty, bool abi_or_pref) const
case Type::DoubleTyID:
AlignType = FLOAT_ALIGN;
break;
- case Type::PackedTyID:
+ case Type::VectorTyID:
AlignType = PACKED_ALIGN;
break;
default:
OpenPOWER on IntegriCloud