This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] Add `transform.apply_licm` op
ClosedPublic

Authored by springerm on Jul 3 2023, 1:02 AM.

Details

Summary

This op applies loop-invariant code motion to the targeted loop-like op.

Diff Detail

Event Timeline

springerm created this revision.Jul 3 2023, 1:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 1:02 AM
springerm requested review of this revision.Jul 3 2023, 1:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 1:02 AM
nicolasvasilache accepted this revision.Jul 3 2023, 1:03 AM
This revision is now accepted and ready to land.Jul 3 2023, 1:03 AM
ftynse accepted this revision.Jul 3 2023, 4:55 AM
ftynse added inline comments.
mlir/test/Dialect/Transform/test-interpreter.mlir
1731

Not for this commit, but we should factor out the tests for the _interpreter_, which belong into test-interpreter, from the tests that are exercising various random operations.

This revision was automatically updated to reflect the committed changes.