This is an archive of the discontinued LLVM Phabricator instance.

Avoid overly large SmallPtrSet/SmallSet
ClosedPublic

Authored by MatzeB on Jan 28 2016, 7:44 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 46337.Jan 28 2016, 7:44 PM
MatzeB retitled this revision from to Avoid overly large SmallPtrSet/SmallSet.
MatzeB updated this object.
MatzeB added reviewers: chandlerc, reames, echristo.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: cfe-commits.
echristo accepted this revision.Jan 29 2016, 3:41 PM
echristo edited edge metadata.

LGTM.

-eric

This revision is now accepted and ready to land.Jan 29 2016, 3:41 PM
This revision was automatically updated to reflect the committed changes.