The LLVM bool type shall have 1 byte alignment on PPC.
authorChris Lattner <sabre@nondot.org>
Sun, 28 Nov 2004 21:16:45 +0000 (21:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Nov 2004 21:16:45 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18311 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetMachine.cpp

index f6445610be983b2e483768de63cfd5bba9729d04..b7b67c03f67387398ecfe9ef85b84d8e4e54e71c 100644 (file)
@@ -142,14 +142,14 @@ void PowerPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
 ///
 PPC32TargetMachine::PPC32TargetMachine(const Module &M, IntrinsicLowering *IL)
   : PowerPCTargetMachine(PPC32ID, IL, 
-                         TargetData(PPC32ID,false,4,4,4,4,4,4,2,1,4),
+                         TargetData(PPC32ID,false,4,4,4,4,4,4,2,1,1),
                          PowerPCFrameInfo(*this, false)), JITInfo(*this) {}
 
 /// PPC64TargetMachine ctor - Create a LP64 architecture model
 ///
 PPC64TargetMachine::PPC64TargetMachine(const Module &M, IntrinsicLowering *IL)
   : PowerPCTargetMachine(PPC64ID, IL,
-                         TargetData(PPC64ID,false,8,4,4,4,4,4,2,1,4),
+                         TargetData(PPC64ID,false,8,4,4,4,4,4,2,1,1),
                          PowerPCFrameInfo(*this, true)) {}
 
 unsigned PPC32TargetMachine::getModuleMatchQuality(const Module &M) {