When converting a CopyFromReg to a copy instruction, use the register class of its...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 16 Sep 2008 23:12:11 +0000 (23:12 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 16 Sep 2008 23:12:11 +0000 (23:12 +0000)
commit1cd332725f7e5fc93f08a8d3ed9806827e9b5509
tree9c4859770766287772b69497261d0630d71dde27
parentf94474161f2578ac7fb3b90245a9dd576b3d7342
When converting a CopyFromReg to a copy instruction, use the register class of its uses to determine the right destination register class of the copy. This is important for targets where a physical register may belong to multiple register classes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56258 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGEmit.cpp