If the alignment of the byval argument is greater than the alignment
authorEric Christopher <echristo@apple.com>
Thu, 9 Jun 2011 00:15:19 +0000 (00:15 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 9 Jun 2011 00:15:19 +0000 (00:15 +0000)
commitefe12907dd58d1d34ab10b0bd2ae9a099b996f53
tree17de543ba5cd0d6162ee6b9ff0c6244f023b1453
parent471e4224809f51652c71f319532697a879a75a0d
If the alignment of the byval argument is greater than the alignment
of the frame then increase the maximum alignment of the frame to
match.

Fixes PR6965

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132764 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CallingConvLower.cpp
test/CodeGen/X86/byval-align.ll [new file with mode: 0644]