[XLA] Simplify CopyInsertion a bit.
Almost all of the logic of the CopyRemover class was contained in an inner class, BufferValueTracker. This change moves the logic that was inside of CopyRemover into callers, and promotes BufferValueTracker into a new CopyRemover class. PiperOrigin-RevId: 236404892
This commit is contained in:
parent
c4bdb39bf8
commit
0955a2de88