This allows for passing a lambda to addDynamicallyLegalDialect without needing to explicit wrap with Optional<DynamicLegalityCallbackFn>.
Depends On D81679
Paths
| Differential D81680
[mlir][DialectConversion] Add overload of addDynamicallyLegalDialect to support lambdas ClosedPublic Authored by rriddle on Jun 11 2020, 12:03 PM.
Details Summary This allows for passing a lambda to addDynamicallyLegalDialect without needing to explicit wrap with Optional<DynamicLegalityCallbackFn>. Depends On D81679
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 11 2020, 3:50 PM Closed by commit rG552ef9fc094f: [mlir][DialectConversion] Add overload of addDynamicallyLegalDialect to support… (authored by rriddle). · Explain WhyJun 15 2020, 4:04 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 270900 mlir/include/mlir/Transforms/DialectConversion.h
mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
mlir/test/lib/Transforms/TestBufferPlacement.cpp
|