Skip to content

Commit

Permalink
Initial BlockExt trait (#618)
Browse files Browse the repository at this point in the history
Here is the first pr with some utility methods as discussed in #616 ,
extending it should be easy, also feel free to refactor it or use
another name, folder, etc.

I added it behind a feature, because it requires the ods feature.

Co-authored-by: Yota Toyama <[email protected]>
  • Loading branch information
edg-l and raviqqe authored Dec 7, 2024
1 parent c7f6012 commit 0573c85
Show file tree
Hide file tree
Showing 3 changed files with 664 additions and 0 deletions.
2 changes: 2 additions & 0 deletions melior/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ keywords = ["mlir", "llvm"]

[features]
ods-dialects = []
# Enable the BlockExt trait (requires ods feature)
helpers = ["ods-dialects"]

[dependencies]
melior-macro = { version = "0.12.2", path = "../macro" }
Expand Down
Loading

0 comments on commit 0573c85

Please sign in to comment.