This is an archive of the discontinued LLVM Phabricator instance.

Avoid overly large SmallPtrSet/SmallSet
ClosedPublic

Authored by MatzeB on Jan 28 2016, 7:43 PM.

Details

Summary

These sets perform linear searching in small mode so it is never a good
idea to use SmallSize/N bigger than 32.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 46336.Jan 28 2016, 7:43 PM
MatzeB retitled this revision from to Avoid overly large SmallPtrSet/SmallSet.
MatzeB updated this object.
MatzeB added reviewers: chandlerc, echristo, reames.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: llvm-commits.
echristo accepted this revision.Jan 29 2016, 3:42 PM
echristo edited edge metadata.

LGTM.

-eric

This revision is now accepted and ready to land.Jan 29 2016, 3:42 PM
MatzeB closed this revision.Jan 29 2016, 5:29 PM

Committed in r259283, thanks for the review!