diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-04-03 23:14:49 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-04-03 23:14:49 +0000 |
| commit | bf0016f2d48c1b1f993a6f5ee468ac416539424c (patch) | |
| tree | 7964b357113cbba0c2814cbd12dac12126876a97 /llvm/lib/Target/TargetData.cpp | |
| parent | b64827e662d5ab0bd0ca386c16ecddfce24dd86f (diff) | |
| download | bcm5719-llvm-bf0016f2d48c1b1f993a6f5ee468ac416539424c.tar.gz bcm5719-llvm-bf0016f2d48c1b1f993a6f5ee468ac416539424c.zip | |
revert previous patch
llvm-svn: 27383
Diffstat (limited to 'llvm/lib/Target/TargetData.cpp')
| -rw-r--r-- | llvm/lib/Target/TargetData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp index e199f44194b..63c5b6178a3 100644 --- a/llvm/lib/Target/TargetData.cpp +++ b/llvm/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: { |

