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

Neboat/cfg invariants #28

Merged
merged 16 commits into from
Dec 25, 2020
Merged

Conversation

neboat
Copy link
Collaborator

@neboat neboat commented Dec 6, 2020

Adjust a few passes to maintain a simpler CFG structure for spawned tasks, namely, that the unwind destination of a detach matches the destination of a detached-rethrow. Augment the Verifier to check that Tapir tasks maintain the correct structure. Bug fixes.

…ifferent parts of MemorySSA all use the same TaskInfo.
…ndle cases where an alloca is used only in one spindle, but that spindle does not match the spindle where the alloca is defined.
…ities and passes to treat exit blocks inside of tasks within a loop as part of the loop.
This commit uses the custom ValueMaterializer to properly materialize
a specified input syncregion, i.e., to ensure that any associated
debug info is properly updated.  In the future, this change may be
extended to support additional Target-specific customization of the
Tapir outlining process.
…sforming a Tapir function with taskframes for CSI or CilkSanitizer instrumentation. In particular, ensure that inserted cleanup blocks properly respect taksframe instrinsics; preserve the structural property that detaches unwind to the same destination as associated detached.rethrows; and exclude inserting instrumentation in placeholder basic blocks.
…ias if an identified object underlying one access cannot escape before the other access.
…nto the spawned body of a Tapir loop in the continuation of a spawn in the caller is properly enclosed in a taskframe.
… and associated detached.rethrow destination are the same.
…ck that syncregions are not used in subtasks. Update test cases to satisfy Tapir task-structure verification.
…noalias call or identified object assuming the Value is in the same spindle.
Sign up for free to 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