This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Fix affine LICM pass for unknown region holding ops
ClosedPublic

Authored by bondhugula on Dec 28 2022, 12:29 PM.

Details

Summary

Fix affine LICM pass for unknown region-holding ops. The logic was
completely ignoring regions of unknown ops leading to generation of
invalid IR on hoisting. Handle affine.parallel op among those with
regions that are supported.

Diff Detail

Event Timeline

bondhugula created this revision.Dec 28 2022, 12:29 PM
bondhugula requested review of this revision.Dec 28 2022, 12:29 PM
ftynse accepted this revision.Dec 29 2022, 12:48 AM
This revision is now accepted and ready to land.Dec 29 2022, 12:48 AM
This revision was landed with ongoing or failed builds.Dec 31 2022, 7:02 AM
This revision was automatically updated to reflect the committed changes.