[llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetMachine.cpp

Evan Cheng evan.cheng at apple.com
Mon Jan 22 15:13:17 PST 2007



Changes in directory llvm/lib/Target/ARM:

ARMTargetMachine.cpp updated: 1.17 -> 1.18
---
Log message:

ARM AAPCS abi (Linux, etc.) requires 8-byte double / long alignment; Mac
requires 4-bytes alignment.


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

 ARMTargetMachine.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff -u llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.17 llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.18
--- llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.17	Mon Jan 22 15:24:13 2007
+++ llvm/lib/Target/ARM/ARMTargetMachine.cpp	Mon Jan 22 17:13:01 2007
@@ -35,8 +35,8 @@
 ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
   : Subtarget(M, FS),
     DataLayout(Subtarget.isTargetDarwin() ?
-               std::string("e-p:32:32-d:32-l:32") :
-               std::string("e-p:32:32-d:64-l:64")),
+               std::string("e-p:32:32-d:32:32-l:32:32") :
+               std::string("e-p:32:32-d:32:64-l:32:64")),
     InstrInfo(Subtarget),
     FrameInfo(Subtarget) {}
 






More information about the llvm-commits mailing list