parent
d31d4c17e6
commit
beb4cffb43
|
@ -14146,9 +14146,9 @@ SDValue X86TargetLowering::LowerSELECT(SDValue Op, SelectionDAG &DAG) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (addTest) {
|
if (addTest) {
|
||||||
// Look pass the truncate if the high bits are known zero.
|
// Look past the truncate if the high bits are known zero.
|
||||||
if (isTruncWithZeroHighBitsInput(Cond, DAG))
|
if (isTruncWithZeroHighBitsInput(Cond, DAG))
|
||||||
Cond = Cond.getOperand(0);
|
Cond = Cond.getOperand(0);
|
||||||
|
|
||||||
// We know the result of AND is compared against zero. Try to match
|
// We know the result of AND is compared against zero. Try to match
|
||||||
// it to BT.
|
// it to BT.
|
||||||
|
|
Loading…
Reference in New Issue