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

Scalarize swap and ranges::swap for arrays #2700

Merged
merged 3 commits into from
May 5, 2022

Conversation

StephanTLavavej
Copy link
Member

Fix #2699 by reverting #2689. I have reopened #2683.

Add test coverage for the regression to GH_001411_core_headers. I'm renaming it to test.cpp because I want it to link and run, and I'm dropping the part about "Non-core headers like <chrono> should include <yvals.h>." (as this is uninteresting).

Drive-by fix: Add comment to test_gh_2618() in Dev11_0836436_get_time. This was a race condition between #2433 and #2666.

@StephanTLavavej StephanTLavavej added the bug Something isn't working label May 3, 2022
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner May 3, 2022 22:21
stl/inc/utility Show resolved Hide resolved
@StephanTLavavej StephanTLavavej self-assigned this May 5, 2022
@StephanTLavavej
Copy link
Member Author

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 9ccb781 into microsoft:main May 5, 2022
@StephanTLavavej StephanTLavavej deleted the swap-arrays-slower branch May 5, 2022 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vectorized swap emits error LNK2019: unresolved external symbol ___std_swap_ranges_trivially_swappable_noalias
2 participants