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
The current hashing quality for ValueInfo is poor because it uses
pointers as the hash value, which can negatively impact performance in
various places that use a DenseSet/Map of ValueInfo. In one observed
case, ModuleSummaryIndex::propagateAttributes() was taking about 25
minutes to complete on a ThinLTO application. Profiling revealed that
the majority of this time was spent operating on the
MarkedNonReadWriteOnly set.
With the improved hashing, the execution time for propagateAttributes is
dramatically reduced to less than 10 seconds.
0 commit comments