[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)
commit6cf3cfa0ab1da0c52730fec103bbc69eb0370081
tree99119b81047fb773172bda71c4b5e939e1c9a92e
parenta10369920fa86d8961495b71dbc00f5596d122d9
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186147 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZInstrInfo.cpp
test/CodeGen/SystemZ/fp-move-02.ll