Most of the time we only hit the small case, so it is beneficial to pull
it out of insert_imp(). This improves compile time at least for non-LTO builds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D16619
SmallPtrSet: Put the part of insert() on small sets into the header ClosedPublic Authored by MatzeB on Jan 26 2016, 7:58 PM.
Details Summary Most of the time we only hit the small case, so it is beneficial to pull
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 26 2016, 8:01 PM Closed by commit rL258908: SmallPtrSet: Inline the part of insert_imp in the small case (authored by matze). · Explain WhyJan 26 2016, 8:24 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 46097 llvm/trunk/include/llvm/ADT/SmallPtrSet.h
llvm/trunk/lib/Support/SmallPtrSet.cpp
|