Skip to content

cranelift: Add DFG helper for resolving all value aliases#8238

Merged
jameysharp merged 1 commit intobytecodealliance:mainfrom
jameysharp:resolve-bugpoint-aliases
Mar 26, 2024
Merged

cranelift: Add DFG helper for resolving all value aliases#8238
jameysharp merged 1 commit intobytecodealliance:mainfrom
jameysharp:resolve-bugpoint-aliases

Conversation

@jameysharp
Copy link
Contributor

And demonstrate its use in bugpoint. That doesn't have much impact on anything, which I hope makes this easier to review than changing more important things right away.

There are other places we would probably be better off doing a whole-function rewrite once rather than calling resolve_aliases a bunch of times, such as the disas tests, the egraph pass, and lowering. I have not changed those in this PR.

And demonstrate its use in bugpoint. That doesn't have much impact on
anything, which I hope makes this easier to review than changing more
important things right away.

There are other places we would probably be better off doing a
whole-function rewrite once rather than calling `resolve_aliases` a
bunch of times, such as the disas tests, the egraph pass, and lowering.
I have not changed those in this PR.
@jameysharp jameysharp requested a review from a team as a code owner March 26, 2024 00:15
@jameysharp jameysharp requested review from cfallin and removed request for a team March 26, 2024 00:15
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Nice!

@jameysharp jameysharp enabled auto-merge March 26, 2024 00:21
@jameysharp jameysharp added this pull request to the merge queue Mar 26, 2024
Merged via the queue into bytecodealliance:main with commit 7ad3667 Mar 26, 2024
@jameysharp jameysharp deleted the resolve-bugpoint-aliases branch March 26, 2024 00:58
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.

2 participants