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 if-statement elision on constant true/false condition, for condit… #4559

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

JohanEngelen
Copy link
Member

…ion expressions that are more complex than a simple integer.

Resolves issue #4556

…ion expressions that are more complex than a simple integer.

Resolves issue ldc-developers#4556
@kinke
Copy link
Member

kinke commented Jan 9, 2024

Is the Circle CI failure caused by using the distro-LLVM v11.0.0, whereas the vanilla-LLVM job uses v11.1.0?

Edit: In which case we could presumably simply use llvm-12-dev instead, available for Ubuntu 20.

@JohanEngelen
Copy link
Member Author

Is the Circle CI failure caused by using the distro-LLVM v11.0.0, whereas the vanilla-LLVM job uses v11.1.0?

Yep. The testcase is a bit strange too, let me think about it.

… the right thing regardless of codegen optimization or not.
@JohanEngelen JohanEngelen enabled auto-merge (squash) January 10, 2024 22:13
@JohanEngelen JohanEngelen merged commit 1d4c2cf into ldc-developers:master Jan 10, 2024
24 checks passed
@JohanEngelen JohanEngelen deleted the gh4556 branch January 10, 2024 23:55
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.

2 participants