Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA:GPU][Emitters] Restrict the inliner.
At the moment we inline a callee that calls one of the functions called by the caller. This PR adjusts the logic to inline only such callees that call a subset of the caller's functions. That way we can be sure that after inlining the caller calls the same set of functions excluding the inlined one. Background: jax-ml/jax#26162 contains an example of a MoF fusion that takes forever to compile. The [indexing-based partitioner](44bc816) in combination with this change fix the issue. PiperOrigin-RevId: 729079659
- Loading branch information