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

Fix some bugs with task-simplify and function inlining #285

Merged
merged 6 commits into from
Nov 19, 2024

Conversation

neboat
Copy link
Collaborator

@neboat neboat commented Nov 12, 2024

This PR fixes a crash that can occur in the task-simplify pass when serializing nested tasks. This PR addresses this crash by using a new, initial interface to dynamically maintain the TaskInfo analysis during the task-serialization process.

In addition, this PR fixes function inlining to properly inline resume statements reachable from the exceptional return of a spawned task.

Finally, this PR adjusts the task-simplify code to avoid problems that only arise when handling reduced LLVM test cases.

@neboat neboat force-pushed the dev/18.x-fix-tasksimplify branch from c1b50ad to 01fd4f2 Compare November 18, 2024 19:00
@neboat neboat merged commit 8074d9d into OpenCilk:dev/18.x Nov 19, 2024
9 checks passed
@neboat neboat deleted the dev/18.x-fix-tasksimplify branch November 23, 2024 00:17
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