Fix timeline tracking for parallel blocks #344
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#344
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "issue-298"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The previous implementation reset the timeline on every function call in the top-level of a parallel block. This breaks when nested sequential blocks are present within the parallel blocks, as the timeline will not be reset after executing the nested sequential block.
This is fixed by resetting the timeline on every top-level statement of a parallel block, since these statements are to be treated as parallelly executed.
CodeGenerator::gen_block
is implemented to facilitate this change.This PR also contains minor improvements to LLVM IR value naming and documentation updates.
Fixes #298.
ba4e842d31
to4bccfb47ef
v2: Updated commit message
4bccfb47ef
to305836305c
Pull request closed