This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] TransformStateExtension: Replace op/value handles separately
ClosedPublic

Authored by springerm on Mar 28 2023, 3:53 AM.

Diff Detail

Event Timeline

springerm created this revision.Mar 28 2023, 3:53 AM
springerm requested review of this revision.Mar 28 2023, 3:53 AM
springerm retitled this revision from [mlir][transform] TransformStateExtension: Replace op/value handles separately to [mlir][transform][NFC] TransformStateExtension: Replace op/value handles separately.

Looks good but is this really NFC ?

I.e. replacePayloadOp used to implicitly also replacePayloadValues and now we fail hard.

Is this a standalone applicable first step or does it need to land at the same time as dependent changes to avoid breaking downstream?

mlir/test/lib/Dialect/Transform/TestTransformStateExtension.cpp
26

nit: less -> fewer

nicolasvasilache accepted this revision.Mar 28 2023, 4:58 AM
This revision is now accepted and ready to land.Mar 28 2023, 4:58 AM
springerm retitled this revision from [mlir][transform][NFC] TransformStateExtension: Replace op/value handles separately to [mlir][transform] TransformStateExtension: Replace op/value handles separately.Mar 29 2023, 1:41 AM

Looks good but is this really NFC ?

I.e. replacePayloadOp used to implicitly also replacePayloadValues and now we fail hard.

Is this a standalone applicable first step or does it need to land at the same time as dependent changes to avoid breaking downstream?

Removed the NFC. This requires downstream changes if replacePayloadOp is used. In the case of IREE, it should be integrated together with D147039, then the integration fix is simply deleting the IREE TrackingListener.