Double alignment in structs is 4 bytes, not 8. Patch by Nate Begeman.
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 20 Jul 2004 15:43:25 +0000 (15:43 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 20 Jul 2004 15:43:25 +0000 (15:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15034 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetMachine.cpp

index 7a5e49f7d49be6bb179c284b6f73347ea32167c9..f649b3618ce3c6d406e8f97dc7eb4009534172b2 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, 8, 4, 4, 4, 4, 4),
+  : TargetMachine("PowerPC", IL, false, 4, 4, 4, 4, 4, 4, 4, 4),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 16, -4), JITInfo(*this) {
 }