They appeared at the wrong place in the switch, treating
them as unary op rather than binary op.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D131509
case kBitCast:
case kBinaryBranch:
case kUnary:
- case kShlI:
- case kBinary:
return compareExpression(tensorExp.children.e0, pattern->e0);
// Binary operations.
case kMulF:
case kXorI:
case kShrS:
case kShrU:
+ case kShlI:
+ case kBinary:
return compareExpression(tensorExp.children.e0, pattern->e0) &&
compareExpression(tensorExp.children.e1, pattern->e1);
}