From: Anton Korobeynikov Date: Sat, 19 Dec 2009 02:04:23 +0000 (+0000) Subject: Bump alignment requirements for windows targets to achieve compartibility with vcpp. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e9ec6ad1ba5fd9ad70f5d0c059c5a5aa44f501f7;p=oota-llvm.git Bump alignment requirements for windows targets to achieve compartibility with vcpp. Based on patch by Michael Beck! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91745 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index b2b48edf96c..d9040aa3098 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -178,8 +178,11 @@ public: p = "e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-n8:16:32:64"; else if (isTargetDarwin()) p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32"; + else if (isTargetCygMing() || isTargetWindows()) + p = "e-p:32:32-f64:64:64-i64:64:64-f80:128:128-n8:16:32"; else p = "e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32"; + return std::string(p); }