teach X86InstrInfo::copyRegToReg how to copy into ST(0) from
authorChris Lattner <sabre@nondot.org>
Sun, 9 Mar 2008 09:15:31 +0000 (09:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Mar 2008 09:15:31 +0000 (09:15 +0000)
commitf30e1cf9b7f96395768e710b4707ecd5587e1185
treeacdea8cc957815844a9ff9d31b7f7f9ef0419314
parent91436992606d80d0b938160be8bacdc2e07d48d4
teach X86InstrInfo::copyRegToReg how to copy into ST(0) from
an RFP register class.

Teach ScheduleDAG how to handle CopyToReg with different src/dst
reg classes.

This allows us to compile trivial inline asms that expect stuff
on the top of x87-fp stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48107 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/inline-asm-fpstack.ll