(a, b)
| 27 | ty._dispatch_type = ty # pylint: disable=protected-access |
| 28 | |
| 29 | def _and(a, b): |
| 30 | if isinstance(a, bool): |
| 31 | a = IntImm("bool", a) |
| 32 | if isinstance(b, bool): |
| 33 | b = IntImm("bool", b) |
| 34 | if DataType(a.dtype).lanes > 1 or DataType(b.dtype).lanes > 1: |
| 35 | return a & b |
| 36 | else: |
| 37 | return tirx.And(a, b) |
| 38 | |
| 39 | def _or(a, b): |
| 40 | if isinstance(a, bool): |