This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Fix affine.for empty loop body folder
ClosedPublic

Authored by bondhugula on Jul 15 2021, 8:13 PM.

Details

Summary

Fix affine.for empty loop body folder in the presence of yield values.
The existing pattern ignored iter_args/yield values and thus crashed
when yield values had uses.

Diff Detail

Event Timeline

bondhugula created this revision.Jul 15 2021, 8:13 PM
bondhugula requested review of this revision.Jul 15 2021, 8:13 PM

Gentle ping - reviewers: @rriddle (from the history, you were the last to touch this code).

mehdi_amini accepted this revision.Jul 21 2021, 2:17 PM
This revision is now accepted and ready to land.Jul 21 2021, 2:17 PM
This revision was automatically updated to reflect the committed changes.