aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetData.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-03 23:14:49 +0000
committerChris Lattner <sabre@nondot.org>2006-04-03 23:14:49 +0000
commit0aab36f5b26a8d81a2348a79a2e34e64e5c257a8 (patch)
treedec6b1e72379cdc86d7dece5daf53df6e31a939e /lib/Target/TargetData.cpp
parent20e3ed102ba0794b09a894b41254738a59eb30f4 (diff)
revert previous patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27383 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetData.cpp')
-rw-r--r--lib/Target/TargetData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetData.cpp b/lib/Target/TargetData.cpp
index e199f44194..63c5b6178a 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: {