Default stack alignment for 32bit x86 should be 4 Bytes, not 8 Bytes.
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.cpp
index d78003284abc17d0b252d9395fc24907f2185880..f4a6261973ed30327998cedf3883b65152ba72ff 100644 (file)
@@ -333,7 +333,7 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &CPU,
   , IsUAMemFast(false)
   , HasVectorUAMem(false)
   , HasCmpxchg16b(false)
-  , stackAlignment(8)
+  , stackAlignment(4)
   // FIXME: this is a known good value for Yonah. How about others?
   , MaxInlineSizeThreshold(128)
   , TargetTriple(TT)