X86 / Cygwin asm / alignment fixes.
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.cpp
index 756b6b767548368ce096191ffdb54d8e8530ef58..cafa09cc7d96f6518591f908606877e184816f8e 100644 (file)
@@ -182,6 +182,6 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS) {
 #endif
   }
 
-  if (TargetType == isDarwin)
+  if (TargetType == isDarwin || TargetType == isCygwin)
     stackAlignment = 16;
 }