[SystemZ] Improve spilling of LGDR and LDGR
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 12 Jul 2013 08:37:17 +0000 (08:37 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 12 Jul 2013 08:37:17 +0000 (08:37 +0000)
commit3f0edc29036dfbd780c42fbe074048b782dd47c9
tree4fb1d821e7bb55ed139603d9608155076d9f05c4
parent23773b34c624ef3baff101e82a381c7aa255a85d
[SystemZ] Improve spilling of LGDR and LDGR

If the source of these instructions is spilled we should load the destination.
If the destination is spilled we should store the source.

llvm-svn: 186147
llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
llvm/test/CodeGen/SystemZ/fp-move-02.ll