diff options
| author | Philip Reames <listmail@philipreames.com> | 2016-12-31 02:33:22 +0000 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2016-12-31 02:33:22 +0000 |
| commit | 0ef5d288b4db7baec923ce3707678d036bebf48d (patch) | |
| tree | 01772a7c354f3dea510d9efd0723597d16fd95a1 /llvm/lib/CodeGen | |
| parent | 97cf837b465e9e95fc31368f02ca20036811efba (diff) | |
| download | bcm5719-llvm-0ef5d288b4db7baec923ce3707678d036bebf48d.tar.gz bcm5719-llvm-0ef5d288b4db7baec923ce3707678d036bebf48d.zip | |
[SmallPtrSet] Introduce a find primitive and rewrite count/erase in terms of it
This was originally motivated by a compile time problem I've since figured out how to solve differently, but the cleanup seemed useful. We had the same logic - which essentially implemented find - in several places. By commoning them out, I can implement find and allow erase to be inlined at the call sites if profitable.
Differential Revision: https://reviews.llvm.org/D28183
llvm-svn: 290779
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

