-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Fix inference heuristic hacks #13355
Conversation
With this PR: ➜ ~ julia --depwarn=no perf_parens.jl
Warmup @time
0.000002 seconds (148 allocations: 10.151 KB)
Without parentheses:
0.071398 seconds (15 allocations: 624 bytes)
With parentheses:
0.073499 seconds (15 allocations: 624 bytes) |
failing an llvm assertion on osx and windows?
|
Thanks for looking into this, @simonster! |
The LLVM assertion failure breaks the tests with this PR but is possible to trigger without it. Filed #13366. |
Maybe it is possible to add a test for this? |
I think it would be non-trivial to test directly and the logic is pretty simple. But we should definitely have a perf test for #5011 or #13350. I'll try to add that to @IainNZ's collection. |
Excellent! Thanks for figuring this out. |
So should I be cherry-picking this into #13357 if the assertion failure is a master-only issue? |
@tkelman Yes, I think so. |
Bump. I think we should rebase and merge this. |
d1e1fc3
to
9822e93
Compare
9822e93
to
f8d2294
Compare
Fix inference heuristic hacks
These were broken by #11274 but no one noticed. Fixes #13350.