This is an archive of the discontinued LLVM Phabricator instance.

[OpenMPOpt] Add support for BooleanStateWithSetVector
ClosedPublic

Authored by tianshilei1992 on Jul 16 2021, 6:43 AM.

Details

Summary

D101977 added BooleanStateWithPtrSetVector to store pointers to a set meanwhile
tracking boolean state. One of the limitation is that it can only store pointer.
We might want it to store other types of values, such as integer for parallel
level. This patch generalizes the idea and create BooleanStateWithSetVector.
BooleanStateWithPtrSetVector therefore becomes a type alias of BooleanStateWithSetVector.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Jul 16 2021, 6:43 AM
tianshilei1992 requested review of this revision.Jul 16 2021, 6:43 AM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Jul 22 2021, 9:31 AM
This revision was landed with ongoing or failed builds.Jul 22 2021, 10:12 AM
This revision was automatically updated to reflect the committed changes.