summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-28 21:16:45 +0000
committerChris Lattner <sabre@nondot.org>2004-11-28 21:16:45 +0000
commitc0f8a1c721a543d4293005af0eb848d592ceffb1 (patch)
tree4b933dbe8d681f2a020b4e2d22728af7a6b25d50 /llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
parent6ea28888325bb0ec48d8827caf44f2489f643fab (diff)
downloadbcm5719-llvm-c0f8a1c721a543d4293005af0eb848d592ceffb1.tar.gz
bcm5719-llvm-c0f8a1c721a543d4293005af0eb848d592ceffb1.zip
The LLVM bool type shall have 1 byte alignment on PPC.
llvm-svn: 18311
Diffstat (limited to 'llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
index f6445610be9..b7b67c03f67 100644
--- a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
@@ -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) {
OpenPOWER on IntegriCloud