Commit 2be34049 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

[XLA] Avoid UB in HloEvaluator by doing signed + and - using unsigned integers.

We want the signed arithmetic in the evaluator to use 2's complement semantics,
so we have to cast to unsigned integers.

PiperOrigin-RevId: 226564968
parent 20796e6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment