Fix PR13899
authorMichael Liao <michael.liao@intel.com>
Mon, 1 Oct 2012 16:44:04 +0000 (16:44 +0000)
committerMichael Liao <michael.liao@intel.com>
Mon, 1 Oct 2012 16:44:04 +0000 (16:44 +0000)
commitd756f06063cb8fe64161012d0ab959dfe385cc61
tree3f87b1ad2b6d77a85674db71134a8f7884b29fcd
parent4c8af550adb48cc6a73c6253a7d121dff37fd457
Fix PR13899

- Update maximal stack alignment when stack arguments are prepared before a
  call.
- Test cases are enhanced to show it's not a Win32 specific issue but a generic
  one.

llvm-svn: 164946
llvm/include/llvm/CodeGen/CallingConvLower.h
llvm/test/CodeGen/X86/pr13899.ll [new file with mode: 0644]