[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCSubtarget.h

Chris Lattner sabre at nondot.org
Tue Feb 13 21:52:56 PST 2007



Changes in directory llvm/lib/Target/PowerPC:

PPCSubtarget.h updated: 1.23 -> 1.24
---
Log message:

Generalize TargetData strings, to support more interesting forms of data.
Patch by Scott Michel.


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

 PPCSubtarget.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCSubtarget.h
diff -u llvm/lib/Target/PowerPC/PPCSubtarget.h:1.23 llvm/lib/Target/PowerPC/PPCSubtarget.h:1.24
--- llvm/lib/Target/PowerPC/PPCSubtarget.h:1.23	Mon Jan 22 17:11:06 2007
+++ llvm/lib/Target/PowerPC/PPCSubtarget.h	Tue Feb 13 23:52:17 2007
@@ -104,8 +104,8 @@
   /// getTargetDataString - Return the pointer size and type alignment
   /// properties of this subtarget.
   const char *getTargetDataString() const {
-    return isPPC64() ? "E-p:64:64-d:32:64-l:32:64"
-                     : "E-p:32:32-d:32:64-l:32:64";
+    return isPPC64() ? "E-p:64:64-f64:32:64-i64:32:64"
+                     : "E-p:32:32-f64:32:64-i64:32:64";
   }
 
   /// isPPC64 - Return true if we are generating code for 64-bit pointer mode.






More information about the llvm-commits mailing list