forked from OSchip/llvm-project
[X86] Add BLSR and BLSMSK to isUseDefConvertible.
Unfortunately subo formation in CGP prevents obvious ways of testing this. But we already have BLSI in here and the flag behavior is well understood. Might become more useful if we improve PR42571. llvm-svn: 365702
This commit is contained in:
parent
a2681296e0
commit
d916f23b83
|
@ -3396,7 +3396,12 @@ static X86::CondCode isUseDefConvertible(const MachineInstr &MI) {
|
||||||
case X86::BLSI32rr:
|
case X86::BLSI32rr:
|
||||||
case X86::BLSI64rr:
|
case X86::BLSI64rr:
|
||||||
return X86::COND_AE;
|
return X86::COND_AE;
|
||||||
// TODO: BLSR, BLSMSK, and TBM instructions.
|
case X86::BLSR32rr:
|
||||||
|
case X86::BLSR64rr:
|
||||||
|
case X86::BLSMSK32rr:
|
||||||
|
case X86::BLSMSK64rr:
|
||||||
|
return X86::COND_B;
|
||||||
|
// TODO: TBM instructions.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue