This is an archive of the discontinued LLVM Phabricator instance.

[mlir] improve and test TransformState::Extension
ClosedPublic

Authored by ftynse on May 2 2022, 9:24 AM.

Details

Summary

Add the mechanism for TransformState extensions to update the mapping between
Transform IR values and Payload IR operations held by the state. The mechanism
is intentionally restrictive, similarly to how results of the transform op are
handled.

Introduce test ops that exercise a simple extension that maintains information
across the application of multiple transform ops.

Diff Detail

Event Timeline

ftynse created this revision.May 2 2022, 9:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2022, 9:24 AM
ftynse requested review of this revision.May 2 2022, 9:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2022, 9:24 AM
nicolasvasilache accepted this revision.May 3 2022, 2:30 AM
This revision is now accepted and ready to land.May 3 2022, 2:30 AM
This revision was automatically updated to reflect the committed changes.