-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Reactivate automatic nospecialize for unused arguments #50722
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
base: master
Are you sure you want to change the base?
Conversation
clearly the bug is still present:
|
Darn! I'm afraid fixing that is beyond my competence ... |
This was resulting in it being too aggressive at filtering out "duplicate" results, resulting in possible inference mistakes or missing guardsig entries. Fixes: #50722 (comment)
908016c
to
19090e7
Compare
This was resulting in it being too aggressive at filtering out "duplicate" results, resulting in possible inference mistakes or missing guardsig entries. Fixes: #50722 (comment) (cherry picked from commit 762801c)
19090e7
to
1fae15a
Compare
I was pretty sure we'd already concluded this was actually pretty bad for performance, so we'd closed it already |
Then the TODO should be removed, no? |
If this is bad for performance, should things like |
This was resulting in it being too aggressive at filtering out "duplicate" results, resulting in possible inference mistakes or missing guardsig entries. Fixes: JuliaLang#50722 (comment) (cherry picked from commit 762801c)
This was resulting in it being too aggressive at filtering out "duplicate" results, resulting in possible inference mistakes or missing guardsig entries. Fixes: JuliaLang#50722 (comment) (cherry picked from commit 762801c) Co-authored-by: Jameson Nash <vtjnash@gmail.com>
This was resulting in it being too aggressive at filtering out "duplicate" results, resulting in possible inference mistakes or missing guardsig entries. Fixes: #50722 (comment) (cherry picked from commit 762801c)
This was resulting in it being too aggressive at filtering out "duplicate" results, resulting in possible inference mistakes or missing guardsig entries. Fixes: #50722 (comment) (cherry picked from commit 762801c)
Reactivate automatic nospecialize for unused arguments, to avoid unnecessary code generation in use cases like
(let's see if the bug mentioned in the code is gone by now).
Maybe even use the new
@nospecializeinfer
? (I don't know how to do this in C though :-) ).CC @JeffBezanson , @LilithHafner (our discussion at JuliaCon).