iree-org / iree-llvm-sandbox

A sandbox for quick iteration and experimentation on projects related to IREE, MLIR, and LLVM
Apache License 2.0
54 stars 31 forks source link

[Substrait] Implement first version of FilterOp and Expression ops. #812

Closed ingomueller-net closed 5 months ago

ingomueller-net commented 7 months ago

This PR depends on and, therefor, includes #817 and its dependencies.

This corresponds to the FilterRel message and the ones contained in it. Since one of the messages is an Expression message, this PR also introduces the ExpressionOpInterface as well as the LiteralOp as well as the basic import/export infrastructure for such ops/messages. The LiteralOp corresponds to the Expression.Literal message type, and the ExpressionOpInterface encapsualtes common properties and functionality of all types of Expression messages. Finally, the PR also adds attribute constraints for typed attributes of the currently supported types.