projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac16b18
)
Pipehole pattern for i32 imm's
author
Anton Korobeynikov
<asl@math.spbu.ru>
Thu, 16 Jul 2009 13:59:49 +0000
(13:59 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Thu, 16 Jul 2009 13:59:49 +0000
(13:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75965
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SystemZ/SystemZInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/SystemZ/SystemZInstrInfo.td
b/lib/Target/SystemZ/SystemZInstrInfo.td
index 1f3822307b1680e27638bd293de0538f77d6fa55..de21759b82e6561db0bc7e8a73b4f8ea88c450bc 100644
(file)
--- 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)>;