Fix an obscure issue in X86_64 parameter passing: if a tiny byval is
authorStuart Hastings <stuart@apple.com>
Tue, 17 May 2011 16:45:55 +0000 (16:45 +0000)
committerStuart Hastings <stuart@apple.com>
Tue, 17 May 2011 16:45:55 +0000 (16:45 +0000)
commit504421e327a5af90dbb42f33086b6db6f6738477
tree9622c4c794aeb341afb907cd2ae0e2e789181155
parent6e3b3e21227d3498d7f5d9d314a49a9ee4cbb873
Fix an obscure issue in X86_64 parameter passing: if a tiny byval is
passed as the fifth parameter, insure it's passed correctly (in R9).
rdar://problem/6920088

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131467 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CallingConvLower.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h