This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

rriddle created this revision.Jun 11 2020, 12:03 PM
antiagainst accepted this revision.Jun 11 2020, 3:50 PM
This revision is now accepted and ready to land.Jun 11 2020, 3:50 PM
ftynse accepted this revision.Jun 15 2020, 5:12 AM
This revision was automatically updated to reflect the committed changes.