Skip to content

Use descendant_last_locations rather than child_last_locations - #9

Merged
aleph-oh merged 2 commits into
cilkfrom
sync-descendants-in-liveness-analysis
Apr 6, 2024
Merged

Use descendant_last_locations rather than child_last_locations#9
aleph-oh merged 2 commits into
cilkfrom
sync-descendants-in-liveness-analysis

Conversation

@aleph-oh

Copy link
Copy Markdown
Owner

The semantics of cilk_sync are that it syncs any descendants of the current task, not just children. We change the liveness analysis to match that by computing the last locations of any task descending from the current task, not just immediate children.

We do this with a recursive iterator, which I don't love because I'd rather somehow avoid the heap allocation. If it becomes a problem we can fix it.

The semantics of cilk_sync are that it syncs any descendants of the current
task, not just children. We change the liveness analysis to match that by
computing the last locations of any task descending from the current task,
not just immediate children.
We do this with a recursive iterator, which I don't love because I'd rather
somehow avoid the heap allocation. If it becomes a problem we can fix it.
Base automatically changed from allow-no-tracking-issue-for-cilk to cilkApril 6, 2024 19:40
@aleph-oh
aleph-oh merged commit e4b0c81 into cilkApr 6, 2024
@aleph-oh
aleph-oh deleted the sync-descendants-in-liveness-analysis branch June 4, 2024 20:58
oooacaiooo referenced this pull request in mcj-group/rust-cilk Sep 28, 2025
# This is the 1st commit message:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #2:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #3:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #4:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #5:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #6:
debug
# This is the commit message #7:
debug
# This is the commit message #8:
debug
# This is the commit message #9:
debug
# This is the commit message #10:
debug
# This is the commit message #11:
debug
oooacaiooo referenced this pull request in mcj-group/rust-cilk Oct 24, 2025
# This is the 1st commit message:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #2:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #3:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #4:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #5:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #6:
debug
# This is the commit message #7:
debug
# This is the commit message #8:
debug
# This is the commit message #9:
debug
# This is the commit message #10:
debug
# This is the commit message #11:
debug
oooacaiooo referenced this pull request in mcj-group/rust-cilk Mar 25, 2026
# This is the 1st commit message:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #2:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #3:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #4:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #5:
in llvm-project: Move Orphaning analysis to parent functions
# This is the commit message #6:
debug
# This is the commit message #7:
debug
# This is the commit message #8:
debug
# This is the commit message #9:
debug
# This is the commit message #10:
debug
# This is the commit message #11:
debug
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@aleph-oh