This is an archive of the discontinued LLVM Phabricator instance.

[mlir][IR] Trigger notifyOperationInserted for nested ops during cloneRegionBefore
AbandonedPublic

Authored by springerm on Feb 16 2023, 8:19 AM.

Details

Summary

Fixes an inconsistency where cloneRegionBefore did not notify the listener of "op insertion" (whereas OpBuilder::clone does). Various parts of the core infrastructure such as the GreedyPatternRewriteDriver depend on such notifications.

Diff Detail