[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
Sun Jul 16 11:10:25 PDT 2017
mgrang updated this revision to Diff 106812.
mgrang added a comment.
Matched the data layout string to the one in D34859 <https://reviews.llvm.org/D34859>
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-n32:64-S128";
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.106812.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170716/a153b2a1/attachment.bin>
More information about the llvm-commits
mailing list