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
[PGO] Make the PGO instrumentation insert point after alloca
We're changing PGO instrumentation to insert the intrinsic after
alloca instructions. For sampled instrumentation, a conditional
check is placed before the intrinsic. If this intrinsic comes
before an alloca, the alloca (whose size might be unknown due to
Phi node) becomes conditional, resulting in inefficient code.
We have seen some stack overflows due to this.
This patch guarantees the intrinsic is always after the alloca.
0 commit comments