This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fold memref.reinterpret_cast(x) -> x when type does not change
ClosedPublic

Authored by aturetsk on Apr 26 2023, 2:22 PM.

Details

Summary

Fold memref.reinterpret_cast(x) -> x when type does not change.

Diff Detail

Event Timeline

aturetsk created this revision.Apr 26 2023, 2:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2023, 2:22 PM
aturetsk requested review of this revision.Apr 26 2023, 2:22 PM
aturetsk updated this revision to Diff 548028.Aug 7 2023, 7:12 PM

@nicolasvasilache, @mehdi_amini, @ThomasRaoux
Could anyone please take a look at this?

My apologies, I completely missed these notifications, LGTM

This revision is now accepted and ready to land.Aug 29 2023, 12:51 AM

can you update the commit message to say: "Fold memref.reinterpret_cast(x) -> x when the type is fully static and does not change." ?

Thanks for review! Updated the commit message like you suggested.