[XLA] Simplify lowering of kIsFinite
We used something notionally equivalent to "(x == x) && abs(x) != inf" to implement kIsFinite. However, using an ordered comparison against infinity will return false for NaN inputs as well which obviates the need to explicitly test for NaN. PiperOrigin-RevId: 200046365
Loading
Please sign in to comment