This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][OpenMP] Set up MLIR transform pass infrastructure for the OpenMP dialect
AbandonedPublic

Authored by skatrak on Jun 30 2023, 2:48 AM.

Details

Summary

This patch sets up CMake and creates the TableGen/headers to enable the
addition of MLIR transform passes for the OpenMP dialect, as well as
registering them.

This is not intended to land on its own, but instead to agree on the right
approach to define transform passes and act as a dependency for a few related
passes that are under development, also reducing potential for diverging
approaches. This patch should land together with the first dependent patch that
gets accepted.

Diff Detail

Event Timeline

skatrak created this revision.Jun 30 2023, 2:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2023, 2:48 AM
skatrak requested review of this revision.Jun 30 2023, 2:48 AM
skatrak abandoned this revision.Jul 6 2023, 7:21 AM

After discussion in D154247, I will close this patch for the time being, since the patches that were intended to make use of this infrastructure will initially be defined as Flang-only transformation passes. This could serve as a reference later if/when some of these passes are moved to the OpenMP dialect.