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

Prevent JumpThreadingPass from messing with control points. #215

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

vext01
Copy link

@vext01 vext01 commented Nov 18, 2024

Requires moving the -yk-patch-ctrl-point flag so it's accessible in two places.

@@ -960,9 +962,25 @@ static bool hasAddressTakenAndUsed(BasicBlock *BB) {
return !BA->use_empty();
}

// doesn't work need to move switch...
//extern cl::opt<bool> YkPatchCtrlPoint;
Copy link

Choose a reason for hiding this comment

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

What's this bit for?

Copy link
Author

Choose a reason for hiding this comment

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

Oops. That's old junk left over.

Copy link

Choose a reason for hiding this comment

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

Please force push an update.

Requires moving the -yk-patch-ctrl-point flag so it's accessible in two
places.
@vext01
Copy link
Author

vext01 commented Nov 18, 2024

Force pushed the fix for that.

@ltratt ltratt added this pull request to the merge queue Nov 18, 2024
Merged via the queue into ykjit:main with commit c73f96f Nov 18, 2024
2 checks 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