This is an archive of the discontinued LLVM Phabricator instance.

[openmp] remove initializeRewriteSymbolsLegacyPassPass
ClosedPublic

Authored by sunshaoce on Jun 24 2023, 9:08 AM.

Diff Detail

Event Timeline

sunshaoce created this revision.Jun 24 2023, 9:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2023, 9:08 AM
sunshaoce requested review of this revision.Jun 24 2023, 9:08 AM
Herald added a project: Restricted Project. · View Herald Transcript
nikic added inline comments.Jun 24 2023, 9:11 AM
openmp/libomptarget/plugins-nextgen/common/PluginInterface/JIT.cpp
81–82

You can remove the entire code starting from here.

tianshilei1992 added inline comments.
openmp/libomptarget/plugins-nextgen/common/PluginInterface/JIT.cpp
81–82

we don't need to initialize them anymore?

sunshaoce updated this revision to Diff 534225.Jun 24 2023, 9:21 AM
sunshaoce marked an inline comment as done.

Addressed @nikic's comment. Removed Initialize passes.

nikic accepted this revision.Jun 24 2023, 9:28 AM

LGTM

openmp/libomptarget/plugins-nextgen/common/PluginInterface/JIT.cpp
80

You can remove this check (and the JITTargetInitialized) flag as well.

This revision is now accepted and ready to land.Jun 24 2023, 9:28 AM
sunshaoce updated this revision to Diff 534229.Jun 24 2023, 9:33 AM
sunshaoce marked an inline comment as done.

Removed JITTargetInitialized.

This revision was landed with ongoing or failed builds.Jun 24 2023, 9:35 AM
This revision was automatically updated to reflect the committed changes.