This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Affine] Fix affine scalrep - add missing check
ClosedPublic

Authored by bondhugula on Jan 8 2023, 10:18 PM.

Details

Summary

This fixes https://github.com/llvm/llvm-project/issues/59461

Add missing check in affine-scalrep pass that led to scalrep assert or
wrong scalrep when dead affine region ops existed in the same block.

Diff Detail

Event Timeline

bondhugula created this revision.Jan 8 2023, 10:18 PM
bondhugula requested review of this revision.Jan 8 2023, 10:18 PM
ftynse accepted this revision.Jan 10 2023, 2:14 AM
This revision is now accepted and ready to land.Jan 10 2023, 2:14 AM

Remove extra new line.

This revision was landed with ongoing or failed builds.Jan 11 2023, 10:19 PM
This revision was automatically updated to reflect the committed changes.