Fix x86-64 byval passing to specify the alignment even when the code
commit855d227967f8332237f1f1cf8eb63a1e22d8be05
authorChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 23:21:23 +0000 (22 23:21 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 23:21:23 +0000 (22 23:21 +0000)
treee6b82fdccbf59370dcb703f3e3ef3484db78735a
parenta2120039ed08a5d5d6096e2560fd32c6128e951a
Fix x86-64 byval passing to specify the alignment even when the code
generator will give it something sufficient.  This is important because
the mid-level optimizer doesn't know what alignment is required otherwise.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131879 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/x86_64-arguments.c