Skip to content

Neboat/cfg invariants#28

Merged
neboat merged 16 commits intoOpenCilk:dev/10.xfrom
neboat:neboat/cfg-invariants
Dec 25, 2020
Merged

Neboat/cfg invariants#28
neboat merged 16 commits intoOpenCilk:dev/10.xfrom
neboat:neboat/cfg-invariants

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.

neboat added 14 commits December 4, 2020 13:16
…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