Skip to content

Conversation

topolarity
Copy link
Member

I adapted this code incorrectly in #56271.

This dispatch should not be treated as resolved just because arg0 is constant. With the previous code, that meant it was eligible for last-minute call resolution, but call-resolution in codegen is now forbidden so this needs to fail unilaterally.

This dispatch should not be treated as resolved just because arg0 is
constant. With the previous code, that meant it was eligible for
last-minute call resolution but now that we don't do that, all calls
(not to builtins/intrinsics) should be considered failed dispatches.
@topolarity topolarity added trimming Issues with trimming functionality or PR's relevant to its performance/functionality backport 1.12 Change should be backported to release-1.12 labels Feb 10, 2025
@KristofferC KristofferC mentioned this pull request Feb 11, 2025
32 tasks
@topolarity topolarity merged commit 0b74d17 into JuliaLang:master Feb 11, 2025
5 of 7 checks passed
KristofferC pushed a commit that referenced this pull request Feb 13, 2025
This dispatch should not be treated as resolved just because arg0 is
constant. With the previous code, that meant it was eligible for
last-minute call resolution, but call-resolution in codegen is now
forbidden so this needs to fail unilaterally.

(cherry picked from commit 0b74d17)
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

trimming Issues with trimming functionality or PR's relevant to its performance/functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants