Correctly handle a one-word struct passed byval on x86_64.
authorStuart Hastings <stuart@apple.com>
Thu, 26 May 2011 02:44:56 +0000 (02:44 +0000)
committerStuart Hastings <stuart@apple.com>
Thu, 26 May 2011 02:44:56 +0000 (02:44 +0000)
commitaa4e6afc9be330770e0b5d41e79aa26c3115bcca
treeda54e6dcadc61d248dc1490c4c745276a0c110d3
parentfcdc9a44e59ff2846c6f929e91c90ee34e6ba5d5
Correctly handle a one-word struct passed byval on x86_64.
rdar://problem/6920088

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132105 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CallingConvLower.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
test/CodeGen/X86/2011-05-18-byval-in-reg.ll [new file with mode: 0644]