zleyyij requested fitzgen for a review on PR #8883.
zleyyij requested wasmtime-compiler-reviewers for a review on PR #8883.
zleyyij opened PR #8883 from zleyyij:main
to bytecodealliance:main
:
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->Prior conversation:
https://github.com/bytecodealliance/wasmtime/issues/2827#issuecomment-2184904073This change removes sourcelocs from bugpoint output to make the reduced clif IR easier to read.
fitzgen submitted PR review:
Thanks! One suggestion/question below.
Also cc @bjorn3 who I think has a bunch of experience with bugpoint.
fitzgen submitted PR review:
Thanks! One suggestion/question below.
Also cc @bjorn3 who I think has a bunch of experience with bugpoint.
fitzgen created PR review comment:
It isn't clear to me that we should remove them all at once. There might be some panic due to the way we are processing a particular series of srclocs. Can we try removing subset(s) of them incrementally? (I have never touched bugpoint fwiw, so I don't have a sense of the difficulty of what I am asking and if it isn't practical then we can land this as-is).
bjorn3 submitted PR review.
bjorn3 created PR review comment:
I think the approach used by
try_resolve_aliases
would work here: Try removing all srclocs and see if the bug reproduces. If not revert the change and keep them for the remainder of the run.
zleyyij updated PR #8883.
zleyyij commented on PR #8883:
I refactored so that it's done in a manner similar to
try_resolve_aliases
.
try_resolve_aliases
appears to be called twice, I don't know why this is, but I currently only havetry_remove_sourcelocs
called once.
zleyyij updated PR #8883.
bjorn3 submitted PR review.
fitzgen submitted PR review:
Thanks!
fitzgen has enabled auto merge for PR #8883.
I think something went wrong here. It still isn't merged after a week.
fitzgen has disabled auto merge for PR #8883.
alexcrichton closed without merge PR #8883.
alexcrichton reopened PR #8883.
alexcrichton has enabled auto merge for PR #8883.
alexcrichton merged PR #8883.
Last updated: Dec 23 2024 at 13:07 UTC