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

[BUG] phi needs to branch of all blocks #43

Closed
Cr0a3 opened this issue Oct 30, 2024 · 0 comments
Closed

[BUG] phi needs to branch of all blocks #43

Cr0a3 opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working ir The ir (includes basic block, optimizations)

Comments

@Cr0a3
Copy link
Owner

Cr0a3 commented Oct 30, 2024

Describe the bug
The phi node needs to return values from all blocks. Even when the block has nothing to do with the variable.
That's incorrect.

@Cr0a3 Cr0a3 added bug Something isn't working ir The ir (includes basic block, optimizations) labels Oct 30, 2024
@Cr0a3 Cr0a3 self-assigned this Oct 30, 2024
Cr0a3 added a commit that referenced this issue Oct 31, 2024
@Cr0a3 Cr0a3 closed this as completed Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ir The ir (includes basic block, optimizations)
Projects
None yet
Development

No branches or pull requests

1 participant