Commit 8d95234d authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

[XLA] Fix MakeFakeArguments's handling of R0 params and dynamic-(update-)slice.

Previously MakeFakeArguments assumed that anything which flows into a
dynamic-(update-)slice is an R1 value.  This is true of operands to DUS, but
because MakeFakeArguments uses *dataflow analysis*, it looks through bitcasts,
which can e.g. change an R0 to an R1 value.  This caused it to do the wrong
thing and return an R1 for an R0 parameter.

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