Fix PR7193: if sibling call address can take a register, make sure there are enough...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 29 May 2010 01:35:22 +0000 (01:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 29 May 2010 01:35:22 +0000 (01:35 +0000)
commit9c044674e6349caff46fea79a103dfe210dfde56
tree5f4165286b7b8af6240fd44bfbb47086b632ca1f
parent5a0d4fcb8d0e624cf9452659f83e20f7e9e3444d
Fix PR7193: if sibling call address can take a register, make sure there are enough registers available by counting inreg arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105092 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/sibcall-3.ll [new file with mode: 0644]