Skip to content

Conversation

Keno
Copy link
Member

@Keno Keno commented Nov 2, 2023

…hi block

We don't fully set up the interpreter state when evaluating the phi block, because we expect all statements to be valid in value-position (using the IR definition of value position). However, the interpreter was overapproximating the size of the phi-block, leading to the possibility that the evaluation may throw. Correct that by truncating the phi block to the actual last phi. Will be tested in existing tests after #51970.

…hi block

We don't fully set up the interpreter state when evaluating the phi block,
because we expect all statements to be valid in value-position (using
the IR definition of value position). However, the interpreter was
overapproximating the size of the phi-block, leading to the possibility
that the evaluation may throw. Correct that by truncating the phi
block to the actual last phi. Will be tested in existing tests after
#51970.
@oscardssmith oscardssmith added error handling Handling of exceptions by Julia or the user bugfix This change fixes an existing bug labels Nov 5, 2023
@oscardssmith oscardssmith added the merge me PR is reviewed. Merge when all tests are passing label Nov 5, 2023
@oscardssmith oscardssmith merged commit b723f41 into master Nov 6, 2023
@oscardssmith oscardssmith deleted the kf/interpstackfix branch November 6, 2023 14:38
@oscardssmith oscardssmith removed the merge me PR is reviewed. Merge when all tests are passing label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This change fixes an existing bug error handling Handling of exceptions by Julia or the user

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants