Skip to content
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

compiler: Catch escaping numpy.{array, full, transpose}() results #2239

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

dnadlinger
Copy link
Collaborator

Function calls in general can still be used to hide escaping
allocations from the compiler (issue #1497), but these calls in
particular always allocate, so we can easily and accurately handle
them.

Function calls in general can still be used to hide escaping
allocations from the compiler (issue m-labs#1497), but these calls in
particular always allocate, so we can easily and accurately handle
them.
@dnadlinger
Copy link
Collaborator Author

@sbourdeauducq We might want to backport this to older releases, at least after initial testing has confirmed my assesment that this is in fact precise (i.e. should not reject corruption-free code).

@sbourdeauducq sbourdeauducq merged commit 08eea09 into m-labs:master Oct 9, 2023
@dnadlinger dnadlinger deleted the catch-escaping-array branch October 9, 2023 08:25
@michael-hartmann michael-hartmann mentioned this pull request Oct 9, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants