[llvm] r308223 - [COFF, ARM64] Correct the data layout string for COFF ARM64 target
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 17 14:25:19 PDT 2017
Author: mgrang
Date: Mon Jul 17 14:25:19 2017
New Revision: 308223
URL: http://llvm.org/viewvc/llvm-project?rev=308223&view=rev
Log:
[COFF, ARM64] Correct the data layout string for COFF ARM64 target
Modified:
llvm/trunk/lib/Target/AArch64/AArch64TargetMachine.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64TargetMachine.cpp?rev=308223&r1=308222&r2=308223&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64TargetMachine.cpp Mon Jul 17 14:25:19 2017
@@ -186,7 +186,7 @@ static std::string computeDataLayout(con
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";
More information about the llvm-commits
mailing list