Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Jan 12, 2024

There is a bit of complexity here making sure that this instruction ends up in the correct basic block because there's a fair number of corner cases (e.g. whether we're deleting the first instruction of a basic block or the last or both). Side-step all that by never doing the delete-then-insert dance and instead doing regular instruction replacement if necessary. Fixes #52857.

@Keno
Copy link
Member Author

Keno commented Jan 12, 2024

(N.B.: Base branch is currently #52863 to avoid the merge conflict, so that one should be merged first).

@vtjnash vtjnash requested a review from topolarity January 12, 2024 01:21
Base automatically changed from kf/52858 to master January 12, 2024 14:18
There is a bit of complexity here making sure that this instruction
ends up in the correct basic block because there's a fair number
of corner cases (e.g. whether we're deleting the first instruction
of a basic block or the last or both). Side-step all that by
never doing the delete-then-insert dance and instead doing regular
instruction replacement if necessary. Fixes #52857.
@Keno Keno merged commit f14bf29 into master Jan 13, 2024
@Keno Keno deleted the kf/52857 branch January 13, 2024 01:57
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.

IR verification error during testing of Parsers.jl

1 participant