Pipehole pattern for i32 imm's

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2009-07-16 13:59:49 +00:00
parent ac16b181f1
commit c9d4a887f6

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