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

Work around a compiler back-end assertion in vectorized minmax #4739

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

StephanTLavavej
Copy link
Member

After merging #4659, the MSVC-internal "selfbuild" CI (where the freshly built compiler is used to build itself again) failed. I've reported VSO-2093761 "amd64chk vect_opcode.cpp assertion entryIsaRequirement <= isaRequirement when compiling the STL's vectorized minmax".

Thanks to @AlexGuteniev for suggesting #pragma loop(no_vector) as a workaround. (The problem involves the optimizer getting confused by manually vectorized code followed by auto-vectorized code.)

Co-authored-by: Alex Guteniev <gutenev@gmail.com>
@StephanTLavavej StephanTLavavej added bug Something isn't working high priority Important! labels Jun 19, 2024
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner June 19, 2024 18:15
@StephanTLavavej StephanTLavavej merged commit c19507f into microsoft:main Jun 19, 2024
39 checks passed
@StephanTLavavej StephanTLavavej deleted the fix-selfbuild branch June 19, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority Important!
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants