Shorts are aligned to 2 bytes, bools to 1 byte (in structs).
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 20 Jul 2004 20:59:57 +0000 (20:59 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 20 Jul 2004 20:59:57 +0000 (20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15048 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetMachine.cpp

index f649b3618ce3c6d406e8f97dc7eb4009534172b2..cdeb3fc15cf27624e172c1d24e3d4404f56b7d25 100644 (file)
@@ -52,7 +52,7 @@ unsigned PowerPCTargetMachine::getModuleMatchQuality(const Module &M) {
 ///
 PowerPCTargetMachine::PowerPCTargetMachine(const Module &M,
                                            IntrinsicLowering *IL)
-  : TargetMachine("PowerPC", IL, false, 4, 4, 4, 4, 4, 4, 4, 4),
+  : TargetMachine("PowerPC", IL, false, 4, 4, 4, 4, 4, 4, 2, 1),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 16, -4), JITInfo(*this) {
 }