Skip to content

Conversation

AnthonyLatsis
Copy link
Collaborator

@AnthonyLatsis AnthonyLatsis commented Aug 21, 2025

Fixes an assertion failure in the rebranch llvm::APInt ctor on 32-bit Windows. We were hitting the assertion because uint64_t(-2) does not fit into 32 bits when treated as unsigned.

These assertions were enabled by default llvm/llvm-project#114539.

Resolves #83849.

Fixes an assertion failure in the rebranch `llvm::APInt` ctor on 32-bit
Windows. We were hitting the assertion because `uint64_t(-2)` does not
fit into 32 bits when treated as unsigned.

These assertions were enabled by default
llvm/llvm-project#114539.
@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please test Windows

Copy link
Contributor

@rjmccall rjmccall left a comment

Choose a reason for hiding this comment

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

LGTM

@Steelskin
Copy link
Contributor

I can confirm this fixes the issue in my local build.

@Steelskin
Copy link
Contributor

@swift-ci please test Windows

1 similar comment
@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please test Windows

@bnbarham
Copy link
Contributor

@swift-ci please test Windows

@bnbarham
Copy link
Contributor

(was on the lldb timeout issue)

@compnerd
Copy link
Member

@swift-ci please test Windows platform

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please test Windows

@AnthonyLatsis AnthonyLatsis merged commit 2640584 into main Aug 24, 2025
3 checks passed
@AnthonyLatsis AnthonyLatsis deleted the jepa-main2 branch August 24, 2025 07:42
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.

Rebranch: Assertion failed for Windows x86 target SDK
5 participants