Split x86's ADJCALLSTACK instructions into 32-bit and 64-bit forms.
authorDan Gohman <gohman@apple.com>
Wed, 1 Oct 2008 18:28:06 +0000 (18:28 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 1 Oct 2008 18:28:06 +0000 (18:28 +0000)
commit6d4b0525791182435a36d33340b97e1d7041e388
tree71abdaf9863d88f5ea3710ebcd04d097cd9a2c4e
parentefd30ba7980fc6a1f1577f5f586692db5a920eaa
Split x86's ADJCALLSTACK instructions into 32-bit and 64-bit forms.
This allows the 64-bit forms to use+def RSP instead of ESP. This
doesn't fix any real bugs today, but it is more precise and it
makes the debug dumps on x86-64 look more consistent.

Also, add some comments describing the CALL instructions' physreg
operand uses and defs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86RegisterInfo.cpp