This is an archive of the discontinued LLVM Phabricator instance.

Remove "unused" member ModuleSlice from `struct OpenMPOpt`
ClosedPublic

Authored by mehdi_amini on Jun 17 2020, 10:25 AM.

Details

Summary

This is fixing warning from clang:

warning: private field 'ModuleSlice' is not used [-Wunused-private-field]

SmallPtrSetImpl<Function *> &ModuleSlice;
                             ^

Diff Detail

Event Timeline

mehdi_amini created this revision.Jun 17 2020, 10:25 AM
sstefan1 accepted this revision.Jun 17 2020, 10:39 AM

This was my bad. Thanks for noticing!

llvm/lib/Transforms/IPO/OpenMPOpt.cpp
271

This can now be OMPInfoCache.ModuleSlice.size()

This revision is now accepted and ready to land.Jun 17 2020, 10:39 AM
This revision was automatically updated to reflect the committed changes.