-
Notifications
You must be signed in to change notification settings - Fork 86
Clean up ret_mode
and region
in Lambda.lfunction
#2985
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Clean up ret_mode
and region
in Lambda.lfunction
#2985
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks!
Please hold off merging - I'd like to push commit to clean up the comments.
I'd like @lpw25 to read the changes to |
@lpw25 and I talked, and we think we want this PR to fix things more thoroughly:
I will create JIRA ticket to track this, and hope to do it in the next few weeks. |
ret_mode
and region
in Lambda.lfunction
I will have to look at the discussion again but I think there were some problems with inadequate precision of locality information that caused trouble in #1271. Maybe this new idea will solve that. We should revisit that discussion when work recommences on this PR. |
4fd39ab
to
0f174bf
Compare
I had another discussion with @lpw25 . Recollection:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked at the changes again, and they seem fine to me.
@mshinwell could you look at my last commit "fix probe handler empty parameters", then we can merge.
7a6eeb1
to
51a051a
Compare
…#2985) Co-authored-by: Zesen Qian <github@riaqn.org>
...and consequentially
contains_no_escaping_local_allocs
in Flambda 2, which was unused.Simplif
seemed to be the only place relying on this field. @riaqn suggested thatret_mode
could be used instead, which seems like it should be correct, but this part of the diff needs checking carefully. The rest is straightforward.