Skip to content

[rebranch] SIL: Restore old behavior in llvm::APInt ctor call #81464

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

Merged
merged 2 commits into from
May 13, 2025

Conversation

AnthonyLatsis
Copy link
Collaborator

See llvm/llvm-project#114539.

The approach taken in the reverted commit is causing tests to fail, and I am not positive that all instances of the -1 to 1 switch are correct. Restore the old behavior by tweaking the ctor call instead.

… ctor"

The approach taken in the reverted commit is causing tests to fail, and
I am not positive that all instances of the -1 to 1 switch are correct.
A subsequent commit will restore the old behavior by tweaking the ctor
call instead.

This reverts commit 657f502.
Copy link
Contributor

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to take for now to unblock things, but would be good to get @aschwaighofer / @drexin to weigh in on the truncation (even if that's just to remove the TODO).

@AnthonyLatsis AnthonyLatsis merged commit 3e99010 into swiftlang:rebranch May 13, 2025
@AnthonyLatsis AnthonyLatsis deleted the rebranch branch May 13, 2025 06:00
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