Skip to content

Assertion failed 'child->OperIs(GT_AND) || child->OperIsCmpCompare()' during 'Lowering nodeinfo' #76566

Description

@kunalspathak
// Found by AntigenusingSystem;usingSystem.Collections.Generic;usingSystem.Runtime.CompilerServices;publicclassTestClass{publicstructS1{publicstructS1_D1_F1{publicstructS1_D2_F1{}}}publicstructS2{}publicstructS3{}publicstructS5{publicstructS5_D1_F2{}}staticints_int_15=62;boolbool_33=true;doubledouble_37=2.03125;intint_39=-5;stringstring_43="Y5JA1";S1.S1_D1_F1.S1_D2_F1s1_s1_d1_f1_s1_d2_f1_47=newS1.S1_D1_F1.S1_D2_F1();S2s2_51=newS2();S5.S5_D1_F2s5_s5_d1_f2_55=newS5.S5_D1_F2();[MethodImpl(MethodImplOptions.NoInlining)]publicintLeafMethod6(){unchecked{returnint_39;}}publicS5.S5_D1_F2Method1(outS1.S1_D1_F1.S1_D2_F1p_s1_s1_d1_f1_s1_d2_f1_57,S2p_s2_58,outdoublep_double_59,S3p_s3_60){unchecked{intint_67=62;stringstring_71="1X";ushortushort_72=2;S5.S5_D1_F2s5_s5_d1_f2_87=newS5.S5_D1_F2();S5.S5_D1_F2s5_s5_d1_f2_88=s5_s5_d1_f2_87;p_double_59=15/4;switch(string_71=15+4+string_43){case"XCT":{switch(15<<4){case5:{break;}case62:{break;}case-5:{break;}default:{switch(15>>4^(s_int_15-=int_67<<=LeafMethod6())&int_67+int_67&s_int_15/15|4){case1:{break;}case2:{break;}case-2147483647:{break;}default:{break;}}break;}}break;}case"KW9":{break;}default:{while(bool_33&&15!=4){try{}finally{while((ushort_72<<=int_39>>=LeafMethod6())<=15-4){}}}break;}}returns5_s5_d1_f2_88;}}publicvoidMethod0(){unchecked{S3s3_166=newS3();s5_s5_d1_f2_55=Method1(outs1_s1_d1_f1_s1_d2_f1_47,s2_51,outdouble_37,s3_166);return;}}publicstaticvoidMain(string[]args){newTestClass().Method0();}}/*--------- Test --------- Environment:set COMPlus_AltJitName=clrjit_universal_arm64_x64.dllset COMPlus_AltJit=Method1Assert failure(PID 27256 [0x00006a78], Thread: 59140 [0xe704]): Assertion failed 'child->OperIs(GT_AND) || child->OperIsCmpCompare()' in 'TestClass:Method1(byref,S2,byref,S3):S5_D1_F2:this' during 'Lowering nodeinfo' (IL size 198; hash 0x9d220244; Tier0-FullOpts) File: D:\git\runtime\src\coreclr\jit\lowerarmarch.cpp Line: 2247 Image: D:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\tests\Core_Root\CoreRun.exe*/

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions