[llvm-commits] [llvm] r91745 - /llvm/trunk/lib/Target/X86/X86Subtarget.h
Anton Korobeynikov
asl at math.spbu.ru
Fri Dec 18 18:04:23 PST 2009
Author: asl
Date: Fri Dec 18 20:04:23 2009
New Revision: 91745
URL: http://llvm.org/viewvc/llvm-project?rev=91745&view=rev
Log:
Bump alignment requirements for windows targets to achieve compartibility with vcpp.
Based on patch by Michael Beck!
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.h
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.h?rev=91745&r1=91744&r2=91745&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.h (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.h Fri Dec 18 20:04:23 2009
@@ -178,8 +178,11 @@
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);
}
More information about the llvm-commits
mailing list