diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:59:49 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:59:49 +0000 |
commit | 1d32600af8dcfd660c49bf91353b24a9154f118a (patch) | |
tree | 297f418b06ce55e16b79712959a4fb14deb2421c /lib/Target/SystemZ/SystemZInstrInfo.td | |
parent | 6c312736d93248cd8318ab3f9b0eb378146c0add (diff) | |
download | external_llvm-1d32600af8dcfd660c49bf91353b24a9154f118a.zip external_llvm-1d32600af8dcfd660c49bf91353b24a9154f118a.tar.gz external_llvm-1d32600af8dcfd660c49bf91353b24a9154f118a.tar.bz2 |
Pipehole pattern for i32 imm's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrInfo.td')
-rw-r--r-- | lib/Target/SystemZ/SystemZInstrInfo.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.td b/lib/Target/SystemZ/SystemZInstrInfo.td index 1f38223..de21759 100644 --- a/lib/Target/SystemZ/SystemZInstrInfo.td +++ b/lib/Target/SystemZ/SystemZInstrInfo.td @@ -925,3 +925,6 @@ def : Pat<(urem GR64:$src1, GR64:$src2), GR64:$src1, subreg_odd), GR64:$src2), subreg_even)>; + +def : Pat<(i32 imm:$src), + (EXTRACT_SUBREG (MOV64ri32 (i64 imm:$src)), subreg_32bit)>; |