Skip to content
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

documentation: fix arith cmpi example in MLIR IR notebook #3942

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

superlopuh
Copy link
Member

No description provided.

@superlopuh superlopuh added the documentation Improvements or additions to documentation label Feb 21, 2025
@superlopuh superlopuh self-assigned this Feb 21, 2025
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.30%. Comparing base (e9b1efb) to head (f535847).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3942   +/-   ##
=======================================
  Coverage   91.30%   91.30%           
=======================================
  Files         467      467           
  Lines       58068    58068           
  Branches     5581     5581           
=======================================
  Hits        53021    53021           
  Misses       3616     3616           
  Partials     1431     1431           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -165,19 +165,19 @@ def _(mo):
def _():
less_than_text = """\
func.func @less_than(%a: i32, %b: i32) -> i1 {
%slt = arith.cmpi slt, %lhs, %rhs : i1
%slt = arith.cmpi slt, %lhs, %rhs : i32
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to admit, I always need to think about this for a minute to make sure it is the operands and not the bool-like return

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep same and it confused today's audience also

@superlopuh superlopuh merged commit 2d09184 into main Feb 21, 2025
16 checks passed
@superlopuh superlopuh deleted the sasha/docs/fix-nb-1-example branch February 21, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants