[PATCH] D34858: [COFF, ARM64] Correct the data layout string for COFF ARM64 target
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 19:14:00 PDT 2017
mgrang created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.
COFF ARM64 is LLP64 platform. So int is 4 bytes, long is 4 bytes and long long is 8 bytes.
Repository:
rL LLVM
https://reviews.llvm.org/D34858
Files:
lib/Target/AArch64/AArch64TargetMachine.cpp
Index: lib/Target/AArch64/AArch64TargetMachine.cpp
===================================================================
--- lib/Target/AArch64/AArch64TargetMachine.cpp
+++ lib/Target/AArch64/AArch64TargetMachine.cpp
@@ -182,7 +182,7 @@
if (TT.isOSBinFormatMachO())
return "e-m:o-i64:64-i128:128-n32:64-S128";
if (TT.isOSBinFormatCOFF())
- return "e-m:w-i64:64-i128:128-n32:64-S128";
+ return "e-m:w-p:64:64-i32:32-i64:64-i128:128:128";
if (LittleEndian)
return "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128";
return "E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34858.104806.patch
Type: text/x-patch
Size: 605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170630/639d6829/attachment.bin>
More information about the llvm-commits
mailing list