[llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetMachine.cpp
Chris Lattner
sabre at nondot.org
Tue Feb 13 21:52:54 PST 2007
Changes in directory llvm/lib/Target/ARM:
ARMTargetMachine.cpp 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: (+6 -4)
ARMTargetMachine.cpp | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff -u llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.23 llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.24
--- llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.23 Tue Feb 13 14:06:15 2007
+++ llvm/lib/Target/ARM/ARMTargetMachine.cpp Tue Feb 13 23:52:17 2007
@@ -37,12 +37,14 @@
DataLayout(Subtarget.isAPCS_ABI() ?
// APCS ABI
(Subtarget.isThumb() ?
- std::string("e-p:32:32-d:32:32-l:32:32-s:16:32-b:8:32-B:8:32-A:32") :
- std::string("e-p:32:32-d:32:32-l:32:32")) :
+ std::string("e-p:32:32-f64:32:32-i64:32:32-"
+ "i16:16:32-i8:8:32-i1:8:32-a:0:32") :
+ std::string("e-p:32:32-f64:32:32-i64:32:32")) :
// AAPCS ABI
(Subtarget.isThumb() ?
- std::string("e-p:32:32-d:64:64-l:64:64-s:16:32-b:8:32-B:8:32-A:32") :
- std::string("e-p:32:32-d:64:64-l:64:64"))),
+ std::string("e-p:32:32-f64:64:64-i64:64:64-"
+ "i16:16:32-i8:8:32-i1:8:32-a:0:32") :
+ std::string("e-p:32:32-f64:64:64-i64:64:64"))),
InstrInfo(Subtarget),
FrameInfo(Subtarget) {}
More information about the llvm-commits
mailing list