Fix a couple issues with Win64 ABI
authorNate Begeman <natebegeman@mac.com>
Wed, 21 Jul 2010 20:49:52 +0000 (20:49 +0000)
committerNate Begeman <natebegeman@mac.com>
Wed, 21 Jul 2010 20:49:52 +0000 (20:49 +0000)
commitc8ea673bc0e19f36738bec998fe27fad01bf9749
tree69b8e6cf245754437f2d943824ece77630bfc603
parentbdd57371bc8af531259bdc2820abcec5d23cd19c
Fix a couple issues with Win64 ABI

1) all registers were spilled as xmm, regardless of actual size
2) win64 abi doesn't do the varargs-size-in-%al thing

Still to look into:

xmm6-15 are marked as clobbered by call instructions on win64 even though they aren't.

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