New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: Implement and use IsolatedFromAbove #1122
Conversation
…ure leveraging it)
Also add missing decorators on RISCV ops. The new IsolatedFromAbove verifier triggered errors on those operations otherwise.
I wasn't sure about |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1122 +/- ##
==========================================
+ Coverage 87.01% 87.07% +0.05%
==========================================
Files 139 139
Lines 20914 20964 +50
Branches 3146 3163 +17
==========================================
+ Hits 18199 18254 +55
+ Misses 2193 2191 -2
+ Partials 522 519 -3
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coolio! just one thing on traversing the IR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice
Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, LGTM!
@compor Added a nested test. Does it look like what you had in mind? 🙂 |
Implements IsolatedFromAbove and use it on existing MLIR operations that are supposed to. MLIR's implementation: https://mlir.llvm.org/doxygen/IR_2Operation_8cpp_source.html#l01231 --------- Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
Implements IsolatedFromAbove and use it on existing MLIR operations that are supposed to.
MLIR's implementation: https://mlir.llvm.org/doxygen/IR_2Operation_8cpp_source.html#l01231