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

[CodeGen] Tail Duplication: Remove irrelevant phi node workaround #86981

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AtariDreams
Copy link
Contributor

The comment is quite old, and removing it and then running the old test, it passed without asserting.

@AtariDreams
Copy link
Contributor Author

@nikic @arsenm What do you think about this?

@AtariDreams AtariDreams changed the title [Tail Duplication] Remove Phi Node workaround [CodeGen] Tail Duplication: Remove irrelevant phi node workaround Apr 22, 2024
The comment is quite old, and removing it and then running the old test, it passed without asserting.
; CHECK-LABEL: foo:
; CHECK: // %bb.0: // %entry
; CHECK-NEXT: {
; CHECK-NEXT: r1:0 = combine(r3,r2)
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like too much was optimized out, that I doubt whatever MIR pattern was here didn't survive late enough

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright, so is there a way to see all the optimizations done

Copy link
Contributor

Choose a reason for hiding this comment

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

-print-changed/-print-after-all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants