From: Chris Lattner Date: Mon, 3 Apr 2006 23:14:49 +0000 (+0000) Subject: revert previous patch X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0aab36f5b26a8d81a2348a79a2e34e64e5c257a8;p=oota-llvm.git revert previous patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27383 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetData.cpp b/lib/Target/TargetData.cpp index e199f44194b..63c5b6178a3 100644 --- a/lib/Target/TargetData.cpp +++ b/lib/Target/TargetData.cpp @@ -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: {