Commit 7b1d6a75 authored by Matthias Springer's avatar Matthias Springer
Browse files

[mlir][IR] Support op interfaces in `HasParent` trait

This commit adds support for op interfaces to `HasParent`: an op interface can now be specified as a parent.

To produce useful error messages, a new helper function `getInterfaceName` is generated for every op interface. This is similar to `getOperationName`, which is generated for operations.

This commit addresses a TODO in `TensorOps.td`.
parent bbd6a2d8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment