Commit 5473b48a authored by David Majnemer's avatar David Majnemer Committed by TensorFlower Gardener
Browse files

[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
parent dee02afe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment