[Bug tree-optimization/115825] [11/12/13/14 Regression] Loop unrolling increases code size with -Os
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 8 19:46:32 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Georg-Johann Lay from comment #3)
> How is the tree-ssa passes quering the costs? Does it bake RTX patterns, or
> is it again some implicit assumptions without looking at actual (estimated)
> real costs?
It is estimate_num_insns in tree-inline.cc with the weight of eni_size_weights
(or eni_time_weights). Though I am not 100% sure if -Os uses eni_size_weights
for eni_time_weights.
More information about the Gcc-bugs
mailing list