git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243287
91177308-0d34-0410-b5e6-
96231b3b80d8
- // 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
// it to BT.
// We know the result of AND is compared against zero. Try to match
// it to BT.