mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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:
parent
ac16b181f1
commit
c9d4a887f6
@ -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)>;
|
||||
|
Loading…
Reference in New Issue
Block a user