diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-07-20 16:07:04 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-07-20 16:07:04 +0000 |
commit | 3680f70c9d97be8e4b5ab5e4cff20281d0e43174 (patch) | |
tree | e7405701ecbda20799f664d6bf84c5866506b521 /llvm | |
parent | 2e839de377787e4987ba4f3ef93f8dfa872aedbb (diff) | |
download | bcm5719-llvm-3680f70c9d97be8e4b5ab5e4cff20281d0e43174.tar.gz bcm5719-llvm-3680f70c9d97be8e4b5ab5e4cff20281d0e43174.zip |
Using BIC for immediates needs an extra bump for its complexity to get
instruction selection to prefer it when possible. rdar://7903972
llvm-svn: 108844
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb2.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td index d082a6b4f84..8ba23763e9f 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb2.td +++ b/llvm/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)>; |