raviqqe / melior

The rustic MLIR bindings in Rust
https://raviqqe.github.io/melior/melior/
Apache License 2.0
329 stars 39 forks source link

dialect macro doesn't generate builder function to set return types for operations which don't support type inference #523

Open devins2518 opened 7 months ago

devins2518 commented 7 months ago

Ran into this issue when trying to use dialects from circt specifically the comb dialect. Afaik all of the comb operations expect to be given an explicit return type, however the dialect macro does not generate this function. The error that occurs is seen below:

Screenshot 2024-04-24 at 11 15 52 AM