This is an archive of the discontinued LLVM Phabricator instance.

[mlir] fix side effects for transform.AlternativesOp
ClosedPublic

Authored by ftynse on Jan 20 2023, 4:19 AM.

Details

Summary

It should have an "Allocate" effect on entry block arguments of all
regions in addition to consuming the operand.

Also relax the assertion in transform-dialect-check-uses until we can
properly support region-based control flow.

Fixes #60075.

Diff Detail

Event Timeline

ftynse created this revision.Jan 20 2023, 4:19 AM
ftynse requested review of this revision.Jan 20 2023, 4:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2023, 4:19 AM
springerm accepted this revision.Jan 20 2023, 6:25 AM
This revision is now accepted and ready to land.Jan 20 2023, 6:25 AM
This revision was automatically updated to reflect the committed changes.