summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.td
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:14:54 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:14:54 +0000
commite3a7f7a2b20ad791626f58e16d76a514ea66b62b (patch)
treec49050e22582d5f8ac63553739654c29798a74a4 /lib/Target/SystemZ/SystemZInstrInfo.td
parent0a42d2b4376526dbef25834b29a39fa684f9a902 (diff)
downloadllvm-e3a7f7a2b20ad791626f58e16d76a514ea66b62b.tar.gz
llvm-e3a7f7a2b20ad791626f58e16d76a514ea66b62b.tar.bz2
llvm-e3a7f7a2b20ad791626f58e16d76a514ea66b62b.tar.xz
Remove redundand register move
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrInfo.td')
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.td b/lib/Target/SystemZ/SystemZInstrInfo.td
index 5a34d95e67..a1202aa2e1 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.td
+++ b/lib/Target/SystemZ/SystemZInstrInfo.td
@@ -370,6 +370,14 @@ def MOV64rmm : Pseudo<(outs GR64:$from, GR64:$to), (ins riaddr:$dst),
"lmg\t{$from, $to, $dst}",
[]>;
+let isReMaterializable = 1, isAsCheapAsAMove = 1, isTwoAddress = 1 in {
+def MOV64Pr0_even : Pseudo<(outs GR64P:$dst), (ins GR64P:$src),
+ "lhi\t${dst:subreg_even}, 0",
+ []>;
+def MOV128r0_even : Pseudo<(outs GR128:$dst), (ins GR128:$src),
+ "lghi\t${dst:subreg_even}, 0",
+ []>;
+}
//===----------------------------------------------------------------------===//
// Arithmetic Instructions