[XLA] Fold select to its operands when possible
This implements the following transformations: - select(true, a, b) -> a - select(false, a, b) -> b - select(a, b, b) -> b PiperOrigin-RevId: 217256658
Loading
Please sign in to comment
This implements the following transformations: - select(true, a, b) -> a - select(false, a, b) -> b - select(a, b, b) -> b PiperOrigin-RevId: 217256658