This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Interfaces] Add implicit casts from concrete operation types to the interfaces they implement.
ClosedPublic

Authored by rriddle on Nov 11 2020, 3:33 PM.

Details

Summary

This removes the need to have an explicit cast<> given that we always know it isa instance of the interface.

Diff Detail

Event Timeline

rriddle created this revision.Nov 11 2020, 3:33 PM
rriddle requested review of this revision.Nov 11 2020, 3:33 PM
mehdi_amini accepted this revision.Nov 12 2020, 10:59 AM
This revision is now accepted and ready to land.Nov 12 2020, 10:59 AM