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

Fix insert_node_here! if called at the end of the IR #39021

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

Keno
Copy link
Member

@Keno Keno commented Dec 29, 2020

This method was throwing an error when called after the compaction
had processes the last instruction in the IR (with reverse affinity).
This currently can't happen, because we never use this method after compacting
a terminal instruction (inlining uses it to split BBs), but can after
the new code in #37849, so fix the bug now. Forward port from #37849.

This method was throwing an error when called after the compaction
had processes the last instruction in the IR (with reverse affinity).
This currently can't, because we never use this method after compacting
a terminal instruction (inlining uses it to split BBs), but can after
the new code in #37849, so fix the bug now. Forward port from #37849.
@Keno Keno requested a review from vtjnash December 29, 2020 01:22
@Keno Keno merged commit a2b6426 into master Dec 29, 2020
@Keno Keno deleted the kf/reverse_insert_here branch December 29, 2020 02:57
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
This method was throwing an error when called after the compaction
had processes the last instruction in the IR (with reverse affinity).
This currently can't, because we never use this method after compacting
a terminal instruction (inlining uses it to split BBs), but can after
the new code in JuliaLang#37849, so fix the bug now. Forward port from JuliaLang#37849.
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