mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 07:59:50 +00:00
Using BIC for immediates needs an extra bump for its complexity to get
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
This commit is contained in:
parent
6bf8eee264
commit
f084a5e81d
@ -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)>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user