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.)
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.)