Message ID | 20191110181618.ask6pgrxhajx6usr@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Series | Another sreal micro optimization | expand |
Index: profile-count.c =================================================================== --- profile-count.c (revision 278020) +++ profile-count.c (working copy) @@ -312,6 +312,8 @@ profile_count::to_sreal_scale (profile_c *known = true; if (*this == zero ()) return 0; + if (m_val == in.m_val) + return 1; if (!in.m_val) {