Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
5701652400
· 4mo ago · 0 comments
does profile guided optimisation reduce these checks?
Comments
[–]
porridgeraisin
4mo ago
Insofar as PGO helps inlining.
[–]
5701652400
OP
4mo ago
I have hunch PGO does detect when bound check can be eliminated.
[–]
delamon
4mo ago
How so? PGO might indicate that most of the time arguments are in bounds, but that's not enough. It has to be a proof with 100% certainty before bound checks can be removed
[–]
porridgeraisin
4mo ago
bound check elimination exists separately, PGO can help unveil more opportunities for BCE.