You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move type removal to happen just after ambiguation
The only type-based optimizations that occur after ambiguation are inside
PeepholeFoldConstants and PeepholeReplaceKnownMethods when run as part of the
"late" peephole optmizations.
Since these also run before ambiguation as part of the normal+early peephole
passes, those type-based optimizations will have already had the opportunity to
run, and thus removing the types from only the "late" version of this pass
likely has negligible, if any, effect on code size.
PiperOrigin-RevId: 321667491
0 commit comments