revert previous patch

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-04-03 23:14:49 +00:00
parent 20e3ed102b
commit 0aab36f5b2

View File

@ -217,7 +217,7 @@ static inline void getTypeInfo(const Type *Ty, const TargetData *TD,
Size = AlignedSize*PTy->getNumElements();
// FIXME: The alignments of specific packed types are target dependent.
// For now, just set it to be equal to Size.
Alignment = (Size+7)/8;
Alignment = Size;
return;
}
case Type::StructTyID: {