-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
gh-93554: Conditional jumps only jump forward #96318
gh-93554: Conditional jumps only jump forward #96318
Conversation
iritkatriel
commented
Aug 26, 2022
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: Conditional backward edges should help "warm up" code #93554
🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit 8a3d017 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this!
Just curious, have you benchmarked this change?
We might also consider adding a test that loops ending in branches can still quicken code. For example, something like: def f(x: bool) -> None:
for i in range(1_000_000):
if x:
pass Today Ditto for def w() -> None:
i = 0
while i < 1_000_000:
i += 1 |
I haven't yet. |
Where does such a test belong? |
🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit e87887c 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
I'll merge this while the buildbots are happy with it, we can add more tests (for specialisation etc) in a followup PR. |