Pipehole pattern for i32 imm's

llvm-svn: 75965
This commit is contained in:
Anton Korobeynikov 2009-07-16 13:59:49 +00:00
parent dfc4f762b3
commit 484e1956df

View File

@ -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)>;