Commit
d28aabb8
authored
Jan 19, 2019
by
David Majnemer
Committed by
TensorFlower Gardener
Jan 19, 2019
Browse files
[XLA] Optimize division/remainder by a power of 2
X / Y => X >> log_2(y) X % Y => X & (Y-1) PiperOrigin-RevId: 230081985
parent
f5235144
Loading
Loading
Loading
Changes
7
Show whitespace changes
Inline
Side-by-side
Loading
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment