This removes the need to have an explicit cast<> given that we always know it isa instance of the interface.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91304
[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 TimelineThis revision is now accepted and ready to land.Nov 12 2020, 10:59 AM Closed by commit rG7f61396cfac5: [mlir][Interfaces] Add implicit casts from concrete operation types to the… (authored by rriddle). · Explain WhyNov 12 2020, 11:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 304673 mlir/include/mlir/Support/InterfaceSupport.h
mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
|