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

core: preserve name hints when replacing ops with multiple results #2655

Merged
merged 1 commit into from
May 29, 2024

Conversation

superlopuh
Copy link
Member

No description provided.

@superlopuh superlopuh added the core xDSL core (ir, textual format, ...) label May 29, 2024
@superlopuh superlopuh self-assigned this May 29, 2024
Copy link
Collaborator

@PapyChacal PapyChacal left a comment

Choose a reason for hiding this comment

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

Nice!

Comment on lines -17 to +22
// CHECK-NEXT: %o1, %o1_1 = stencil.apply(%one = %t : !stencil.temp<?xf64>) -> (!stencil.temp<?xf64>, !stencil.temp<?xf64>) {
// CHECK-NEXT: %o1, %o2 = stencil.apply(%one = %t : !stencil.temp<?xf64>) -> (!stencil.temp<?xf64>, !stencil.temp<?xf64>) {
// CHECK-NEXT: %0 = stencil.access %one[0] : !stencil.temp<?xf64>
// CHECK-NEXT: stencil.return %0, %0 : f64, f64
// CHECK-NEXT: }
// CHECK-NEXT: stencil.store %o1 to %of1 ([0] : [64]) : !stencil.temp<?xf64> to !stencil.field<[0,64]xf64>
// CHECK-NEXT: stencil.store %o1_1 to %of2 ([0] : [64]) : !stencil.temp<?xf64> to !stencil.field<[0,64]xf64>
// CHECK-NEXT: stencil.store %o2 to %of2 ([0] : [64]) : !stencil.temp<?xf64> to !stencil.field<[0,64]xf64>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh well thank you 😋

Copy link

codecov bot commented May 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.62%. Comparing base (8fbb3b2) to head (7eebb41).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2655   +/-   ##
=======================================
  Coverage   89.62%   89.62%           
=======================================
  Files         361      361           
  Lines       46245    46248    +3     
  Branches     6988     6990    +2     
=======================================
+ Hits        41446    41449    +3     
  Misses       3724     3724           
  Partials     1075     1075           

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

@superlopuh superlopuh merged commit ba09a53 into main May 29, 2024
10 checks passed
@superlopuh superlopuh deleted the sasha/core/new-name-hint branch May 29, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core xDSL core (ir, textual format, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants