mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-02 10:33:53 +00:00
Align vectors to the size in bytes, not bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
97c2073270
commit
630ebaf1f2
@ -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;
|
||||
Alignment = (Size+7)/8;
|
||||
return;
|
||||
}
|
||||
case Type::StructTyID: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user