From 3f306704d100cad16ee6348eedaca5f40ceea63b Mon Sep 17 00:00:00 2001 From: Egor Bogatov Date: Tue, 12 Sep 2023 15:17:54 +0200 Subject: [PATCH] Remove ObjRefInitBlk test due to gc hole (#91906) --- .../JitBlue/GitHub_21761/GitHub_21761.il | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/src/tests/JIT/Regression/JitBlue/GitHub_21761/GitHub_21761.il b/src/tests/JIT/Regression/JitBlue/GitHub_21761/GitHub_21761.il index 48b560b1284da..0954f3233d7ce 100644 --- a/src/tests/JIT/Regression/JitBlue/GitHub_21761/GitHub_21761.il +++ b/src/tests/JIT/Regression/JitBlue/GitHub_21761/GitHub_21761.il @@ -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. @@ -310,9 +284,6 @@ FAIL: call bool Float32NaNInitBlk() brfalse FAIL - call bool ObjRefInitBlk() - brfalse FAIL - call bool SimdInitBlk() brfalse FAIL