Commit 181816fe authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

Speed up TuplePointsToAnalysis.

This analysis is one of the most expensive parts of the HLO optimization
pipeline.

 - Avoid one or two unnecessary hashtable lookups in
   PopulateDefinedBuffersAndAliases.

 - Add a mode to ShapeTree wherein we avoid copying Shapes.

 - Use templated functors rather than std::function in ShapeTree's
   iterators, thus avoiding the overhead of std::function.

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