And delete the SmallPtrSetImpl overload.
While here, decrease inline element counts from 8 to 4. See D97128 for the choice.
Paths
| Differential D97257
collectUsedGlobalVariables: migrate SmallPtrSetImpl overload to SmallVecImpl overload after D97128 ClosedPublic Authored by MaskRay on Feb 22 2021, 10:32 PM.
Details Summary And delete the SmallPtrSetImpl overload. While here, decrease inline element counts from 8 to 4. See D97128 for the choice.
Diff Detail
Event Timeline
Comment Actions Add that it depends on D97128 to summary (which will help point to context for anyone looking at this later). This revision is now accepted and ready to land.Feb 23 2021, 2:35 PM MaskRay retitled this revision from collectUsedGlobalVariables: migrate SmallPtrSetImpl overload to SmallVecImpl overload to collectUsedGlobalVariables: migrate SmallPtrSetImpl overload to SmallVecImpl overload after D97128.Feb 23 2021, 3:54 PM This revision was landed with ongoing or failed builds.Feb 23 2021, 4:09 PM Closed by commit rGef312951fd6b: collectUsedGlobalVariables: migrate SmallPtrSetImpl overload to SmallVecImpl… (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 325682 llvm/include/llvm/IR/Module.h
llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/IR/Module.cpp
llvm/lib/Object/IRSymtab.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/IPO/Internalize.cpp
|
Can you simply use a different constructor for Used that takes the begin and end iterator to avoid a loop? Here and other places where possible.