Make X86's copyRegToReg able to handle copies to and from subclasses.
authorDan Gohman <gohman@apple.com>
Mon, 20 Apr 2009 22:54:34 +0000 (22:54 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 20 Apr 2009 22:54:34 +0000 (22:54 +0000)
commit70bc17dbf5a991ce8f8f5285f61c352fb55b533d
tree75cda88840f2a79cbfd6f14dcb806da7ec11900b
parentbd209ab9bc0f6ad667c15df4453955c2ed4c2434
Make X86's copyRegToReg able to handle copies to and from subclasses.
This makes the extra copyRegToReg calls in ScheduleDAGSDNodesEmit.cpp
unnecessary. Derived from a patch by Jakob Stoklund Olesen.

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