This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Turn Linalg to LLVM into a partial conversion
ClosedPublic

Authored by ftynse on Feb 4 2021, 2:55 AM.

Details

Summary

Historically, Linalg To LLVM conversion subsumed numerous other conversions,
including (affine) loop lowerings to CFG and conversions from the Standard and
Vector dialects to the LLVM dialect. This was due to the insufficient support
for partial conversions in the infrastructure that essentially required
conversions that involve type change (in this case, !linalg.range to
!llvm.struct) to be performed in a single conversion sweep. This is no longer
the case so remove the subsumed conversions and run them as separate passes
when necessary.

Depends On D95317

Diff Detail

Event Timeline

ftynse created this revision.Feb 4 2021, 2:55 AM
ftynse requested review of this revision.Feb 4 2021, 2:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2021, 2:55 AM
nicolasvasilache accepted this revision.Feb 5 2021, 5:12 AM
This revision is now accepted and ready to land.Feb 5 2021, 5:12 AM
This revision was landed with ongoing or failed builds.Feb 5 2021, 5:31 AM
This revision was automatically updated to reflect the committed changes.