Skip to content

Commit

Permalink
Remove ObjRefInitBlk test due to gc hole (#91906)
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo committed Sep 12, 2023
1 parent 5594701 commit 3f30670
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/tests/JIT/Regression/JitBlue/GitHub_21761/GitHub_21761.il
Original file line number Diff line number Diff line change
Expand Up @@ -217,32 +217,6 @@ FAIL:
ret
}

// Non-zero initialization of a GC reference is not exactly a valid scenario.
// Still, the JIT shouldn't end up generating invalid IR (non-zero GC typed
// constant nodes).

.class sequential sealed Pair extends [System.Runtime]System.ValueType
{
.field public int64 Key
.field public class [System.Runtime]System.Object Value
}

.method static bool ObjRefInitBlk() cil managed noinlining
{
.locals init (valuetype Pair a)

ldloca a
ldc.i4 1
sizeof Pair
initblk

ldloca a
ldind.i8
ldc.i8 0x0101010101010101
ceq
ret
}

// Non-zero SIMD constants are not supported so field by field initialization
// should not be attempted.

Expand Down Expand Up @@ -310,9 +284,6 @@ FAIL:
call bool Float32NaNInitBlk()
brfalse FAIL

call bool ObjRefInitBlk()
brfalse FAIL

call bool SimdInitBlk()
brfalse FAIL

Expand Down

0 comments on commit 3f30670

Please sign in to comment.