This is an archive of the discontinued LLVM Phabricator instance.

[mlir][SCF] Add `loop.promote_if_one_iteration` transform op
ClosedPublic

Authored by springerm on Jul 3 2023, 8:50 AM.

Details

Summary

This transform op promotes loops with one iteration. I.e., the loop op is replaced by just the loop body.

Depends On: D154343

Diff Detail

Event Timeline

springerm created this revision.Jul 3 2023, 8:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 8:50 AM
springerm requested review of this revision.Jul 3 2023, 8:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 8:50 AM
nicolasvasilache accepted this revision.Jul 3 2023, 8:52 AM
This revision is now accepted and ready to land.Jul 3 2023, 8:52 AM
This revision was landed with ongoing or failed builds.Jul 4 2023, 12:04 AM
This revision was automatically updated to reflect the committed changes.