This is an archive of the discontinued LLVM Phabricator instance.

[mlir:PDL] Allow non-bound pdl.attribute/pdl.type operations that create constants
ClosedPublic

Authored by rriddle on Nov 30 2021, 1:03 PM.

Details

Summary

This allows for passing in these attributes/types to constraints/rewrites as arguments.

Depends On D114816

Diff Detail

Event Timeline

rriddle created this revision.Nov 30 2021, 1:03 PM
rriddle requested review of this revision.Nov 30 2021, 1:03 PM
jpienaar accepted this revision.Dec 3 2021, 6:21 AM
jpienaar added inline comments.
mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
519

Is RangeType marked as buildable? It would seem like if it was buildable then we'd automatically generate this (well if the return type interface was included here too)

This revision is now accepted and ready to land.Dec 3 2021, 6:21 AM