On x86-64, for a varargs function, don't store the xmm registers to
authorDan Gohman <gohman@apple.com>
Sat, 15 Aug 2009 01:38:56 +0000 (01:38 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 15 Aug 2009 01:38:56 +0000 (01:38 +0000)
commitd6708eade079c30b0790789a00a8d737d84f52b7
tree720abdae44505cc03d2eade7835820c39c795c83
parent6325a5305ea9665bb8291037df4849baabd13b81
On x86-64, for a varargs function, don't store the xmm registers to
the register save area if %al is 0. This avoids touching xmm
regsiters when they aren't actually used.

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