From: Anton Korobeynikov Date: Thu, 16 Jul 2009 13:59:49 +0000 (+0000) Subject: Pipehole pattern for i32 imm's X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c9d4a887f6e744d0f9ba54e3562bceead0be471f;p=oota-llvm.git Pipehole pattern for i32 imm's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75965 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SystemZ/SystemZInstrInfo.td b/lib/Target/SystemZ/SystemZInstrInfo.td index 1f3822307b1..de21759b82e 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)>;