Skip to content

Commit

Permalink
Partially revert "Disable msvc vectorization in GC get_promoted_bytes (
Browse files Browse the repository at this point in the history
…dotnet#100309)" (dotnet#101995)

(commit 765ca4e)

Revert workaround but leave test in place.
  • Loading branch information
markples authored and Ruihan-Yin committed May 30, 2024
1 parent 47c1570 commit e9ef0cd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24247,9 +24247,6 @@ size_t gc_heap::get_promoted_bytes()

dprintf (3, ("h%d getting surv", heap_number));
size_t promoted = 0;
#ifdef _MSC_VER
#pragma loop(no_vector)
#endif
for (size_t i = 0; i < region_count; i++)
{
if (survived_per_region[i] > 0)
Expand Down

0 comments on commit e9ef0cd

Please sign in to comment.