[PowerPC] Fix PR17155 - Ignore COPY_TO_REGCLASS during emit.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 16 Sep 2013 17:25:12 +0000 (17:25 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 16 Sep 2013 17:25:12 +0000 (17:25 +0000)
commit5c616f91a5136295bf83850bc3610bd28756e58e
tree22603a262c0abe25d05d68de6ac6e769a87910ce
parent03f9197d62dddfb70e70acb5563518f589d29251
[PowerPC] Fix PR17155 - Ignore COPY_TO_REGCLASS during emit.

Fast-isel generates a COPY_TO_REGCLASS for widening f32 to f64, which
is a nop on PPC64.  This is needed to keep the register class system
happy, but on the fast-isel path it is not removed before emit as it
is for DAG select.  Ignore this op when emitting instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190795 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp