Commit 9b884d83 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

[XLA] Don't constant-fold instructions which transitively contain kRng or kAfterAll.

Constant-folding avoids folding kRng/kAfterAll instructions, but it also needs
to avoid folding instructions which *may contain* kRng/kAfterAll, because e.g.
folding a call that contains an rng is morally equivalent to folding an rng.

PiperOrigin-RevId: 228272774
parent 5ed2c498
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment