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

zombie constants/types are merged with normal constants/types #274

Closed
khyperia opened this issue Nov 26, 2020 · 0 comments · Fixed by #288
Closed

zombie constants/types are merged with normal constants/types #274

khyperia opened this issue Nov 26, 2020 · 0 comments · Fixed by #288
Assignees
Labels
c: rustc_codegen_spirv Issues specific to the rustc_codegen_spirv crate. t: bug Something isn't working

Comments

@khyperia
Copy link
Contributor

fn f(x: bool, y: bool) -> bool {
    x && y
}

causes "checked sub is not supported yet" because it uses a false constant, which is merged with a zombie false constant, which is zombied here

@khyperia khyperia added t: bug Something isn't working c: rustc_codegen_spirv Issues specific to the rustc_codegen_spirv crate. labels Nov 26, 2020
@khyperia khyperia self-assigned this Nov 26, 2020
@Jasper-Bekkers Jasper-Bekkers mentioned this issue Nov 30, 2020
4 tasks
@mergify mergify bot closed this as completed in #288 Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: rustc_codegen_spirv Issues specific to the rustc_codegen_spirv crate. t: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant