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

dialects: (eqsat) add min_cost_index optional attribute to eclass #3433

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

superlopuh
Copy link
Member

Instead of storing the cost of the lowest-cost-operand-op, store its index. This will make extraction simpler by avoiding the work of looking again, and does not significantly impact adding costs.

@superlopuh superlopuh added the dialects Changes on the dialects label Nov 12, 2024
@superlopuh superlopuh self-assigned this Nov 12, 2024
Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@7112106). Learn more about missing BASE report.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3433   +/-   ##
=======================================
  Coverage        ?   90.19%           
=======================================
  Files           ?      458           
  Lines           ?    57716           
  Branches        ?     5564           
=======================================
  Hits            ?    52059           
  Misses          ?     4194           
  Partials        ?     1463           

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

@superlopuh superlopuh merged commit e08a8fc into main Nov 12, 2024
15 checks passed
@superlopuh superlopuh deleted the sasha/eqsat/min-cost-index branch November 12, 2024 17:20
EdmundGoodman pushed a commit to EdmundGoodman/xdsl that referenced this pull request Dec 6, 2024
…slproject#3433)

Instead of storing the cost of the lowest-cost-operand-op, store its
index. This will make extraction simpler by avoiding the work of looking
again, and does not significantly impact adding costs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects
Projects
Development

Successfully merging this pull request may close these issues.

2 participants