mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We need this anyways for -Onone and I want to do some experiments with running this very early so I can expose more of the stdlib (modulo inlining) to the new ownership optimizing passes. I also changed how the inliner handles inlining around OSSA by changing it to check early that if the caller is in ossa, then we only inline if all of the callees that the caller calls are in ossa. The intention is to hopefully avoid weird swings in code-size/perf due to the inliner heuristic's calculation being artificially manipulated due to some callees not being available to inline (due to this difference) when others are already available.
16 KiB
16 KiB