This is an archive of the discontinued LLVM Phabricator instance.

[mlir][std] Add ExpandOps pass.
ClosedPublic

Authored by pifon2a on Nov 9 2020, 7:47 AM.

Details

Summary

The pass combines patterns of ExpandAtomic, ExpandMemRefReshape,
StdExpandDivs passes. The pass is meant to legalize STD for conversion to LLVM.

Diff Detail

Event Timeline

pifon2a created this revision.Nov 9 2020, 7:47 AM
Herald added a project: Restricted Project. · View Herald Transcript
pifon2a requested review of this revision.Nov 9 2020, 7:47 AM
ftynse accepted this revision.Nov 9 2020, 7:52 AM

Works for me. If somebody has a better name suggestion (but without using the word "legalize" that would be even more confusing in legalization/lowering/conversion context), I'll take it.

This revision is now accepted and ready to land.Nov 9 2020, 7:52 AM
pifon2a updated this revision to Diff 303963.Nov 9 2020, 12:57 PM

Fix CMake.

This revision was landed with ongoing or failed builds.Nov 9 2020, 12:58 PM
This revision was automatically updated to reflect the committed changes.
mlir/test/Dialect/Standard/expand-ops.mlir