Bump alignment requirements for windows targets to achieve compartibility with vcpp.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 19 Dec 2009 02:04:23 +0000 (02:04 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 19 Dec 2009 02:04:23 +0000 (02:04 +0000)
Based on patch by Michael Beck!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91745 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Subtarget.h

index b2b48edf96cffd8f510eea2a2d07b411181a7299..d9040aa3098d0194aa1ea40425a976b65890762c 100644 (file)
@@ -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);
   }