Optimize LogicalOr and LogicalAnd with all true or false inputs:
LogicalOr(x, true) = true LogicalOr(x, false) = x LogicalAnd(x, true) = x LogicalAnd(x, false) = false and similar if the first argument is constant. PiperOrigin-RevId: 195161140
Loading
Please sign in to comment