{{ message }}
P0811R3_midpoint_lerp: Avoid flaky ARM64/ARM64EC failures#6266
Merged
StephanTLavavej merged 1 commit intoApr 29, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the P0811R3_midpoint_lerp test to avoid flaky ARM64/ARM64EC failures by centralizing the existing GH-5685 workaround inside check_feexcept(), so all floating-point exception checks become no-ops on those targets.
Changes:
- Updated
check_feexcept()to always succeed on_M_ARM64/_M_ARM64EC(TRANSITION, GH-5685). - Removed local ARM64/ARM64EC
#ifguards aroundcheck_feexcept()assertions (now handled uniformly by the helper).
Show a summary per file
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
Member
Author
|
I'm mirroring this to the MSVC-internal repo. Please notify me if any further changes are pushed, otherwise no action is required. |
zacklj89
approved these changes
Apr 29, 2026
BillyONeal
approved these changes
Apr 29, 2026
BillyONeal
left a comment
Member
There was a problem hiding this comment.
This approval is contingent on a bug being filed with the compiler folks.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This extends the workaround for #5685, originally introduced by #5687, to cover all occurrences of
check_feexcept().We've been seeing flaky ARM64/ARM64EC failures, both internally and externally, always of the form
lerp(1, 2, 2) == 3; expected 3. This indicates that the value bits are correct, but something's wrong with the floating-point exception state. This only started happening recently, without having messed withlerp(), so I speculate that something in the compiler changed.