mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
For PR1195:
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user