Skip to content

Conversation

fhahn
Copy link

@fhahn fhahn commented Sep 16, 2025

MaxPtrDiff + Offset may wrap, leading to incorrect results. Use uadd_ov to check for overflow.

(cherry picked from commit cf444ac)

MaxPtrDiff + Offset may wrap, leading to incorrect results. Use uadd_ov
to check for overflow.

(cherry picked from commit cf444ac)
@fhahn
Copy link
Author

fhahn commented Sep 16, 2025

@swift-ci please test

@fhahn
Copy link
Author

fhahn commented Sep 16, 2025

@swift-ci please test llvm

@fhahn fhahn merged commit 89e5b89 into swiftlang:stable/21.x Sep 16, 2025
1 of 5 checks passed
@fhahn fhahn deleted the loads-wrap-fix-stable branch September 16, 2025 15:08
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.

1 participant