OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf8eee
)
Using BIC for immediates needs an extra bump for its complexity to get
author
Jim Grosbach
<grosbach@apple.com>
Tue, 20 Jul 2010 16:07:04 +0000
(16:07 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Tue, 20 Jul 2010 16:07:04 +0000
(16:07 +0000)
instruction selection to prefer it when possible. rdar://
7903972
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108844
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrThumb2.td
b/lib/Target/ARM/ARMInstrThumb2.td
index
d082a6b
..
8ba2376
100644
(file)
--- a/
lib/Target/ARM/ARMInstrThumb2.td
+++ b/
lib/Target/ARM/ARMInstrThumb2.td
@@
-1686,6
+1686,7
@@
let AddedComplexity = 1 in
defm t2MVN : T2I_un_irs <0b0011, "mvn", UnOpFrag<(not node:$Src)>, 1, 1>;
+let AddedComplexity = 1 in
def : T2Pat<(and GPR:$src, t2_so_imm_not:$imm),
(t2BICri GPR:$src, t2_so_imm_not:$imm)>;