From d84d35ba70296aca01d3c48ab9088b0515619fd9 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 15 Feb 2007 02:26:10 +0000 Subject: For PR1195: Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293 --- llvm/lib/Target/TargetData.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Target/TargetData.cpp') 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(Ty); + case Type::VectorTyID: { + const VectorType *PTy = cast(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: -- cgit v1.2.3