[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp

Chris Lattner lattner at persephone.cs.uiuc.edu
Sun Nov 28 13:17:02 PST 2004



Changes in directory llvm/lib/Target/PowerPC:

PowerPCTargetMachine.cpp updated: 1.42 -> 1.43
---
Log message:

The LLVM bool type shall have 1 byte alignment on PPC.


---
Diffs of the changes:  (+2 -2)

Index: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.42 llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.43
--- llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.42	Wed Nov 24 22:14:54 2004
+++ llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp	Sun Nov 28 15:16:45 2004
@@ -142,14 +142,14 @@
 ///
 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) {






More information about the llvm-commits mailing list