Changes in directory llvm/lib/Target/PowerPC:

PPCTargetMachine.cpp updated: 1.89 -> 1.90
---
Log message:

Make all of the TargetMachine subclasses use the new string TargetData methods.

This is part of the on-going work on PR 761: http://llvm.cs.uiuc.edu/PR761 .


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

 PPCTargetMachine.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.89 
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.90
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.89   Tue May  2 20:29:57 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp        Fri May 19 19:24:56 2006
@@ -59,7 +59,7 @@
 
 PPCTargetMachine::PPCTargetMachine(const Module &M, const std::string &FS)
 : TargetMachine("PowerPC"),
-  DataLayout("PowerPC", false, 4, 4, 4, 4, 4),
+  DataLayout(std::string("PowerPC"), std::string("E-p:32:32-d:64:32-l:64:32")),
   Subtarget(M, FS), FrameInfo(*this, false), JITInfo(*this),
   TLInfo(*this), InstrItins(Subtarget.getInstrItineraryData()) {
   if (TargetDefault == PPCTarget) {



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to