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

Add pass for splitting blocks after calls. #108

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

ptersilie
Copy link

This effectively turns call instructions into terminators, making it easier to process traces in yk. A yk PR with major jitmodbuilder changes (rewriting the entire recursion/external call detection logic) is following soon.

@ltratt
Copy link

ltratt commented Dec 7, 2023

Can we add a simple test to check the splitting works when the flag is turned on?

I also wouldn't mind if @vext01 could cast a very quick eye over this, as I admit to ignorance when looking in LLVM's internals. I don't think @vext01 needs to be a reviewer for subsequent changes/fixes -- a quick eye should be sufficient.

@ptersilie
Copy link
Author

Ready for re-review.

@ltratt
Copy link

ltratt commented Dec 8, 2023

Please squash.

This effectively turns call instructions into terminators, making it easier
to process traces.
@ptersilie ptersilie force-pushed the splitblocksaftercalls branch from 908c185 to 05ab891 Compare December 8, 2023 11:31
@ptersilie
Copy link
Author

Squashed.

@ltratt ltratt added this pull request to the merge queue Dec 8, 2023
Merged via the queue into ykjit:main with commit 0b60fc9 Dec 8, 2023
1 check passed
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.

3 participants