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
This commit is contained in:
Jim Grosbach 2010-07-20 16:07:04 +00:00
parent 2e839de377
commit 3680f70c9d
1 changed files with 1 additions and 0 deletions

View File

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