Closed
Description
// Found by Antigen
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public class TestClass
{
public struct S1
{
public double double_0;
}
public struct S2
{
public double double_1;
}
static S1 s_s1_16 = new S1();
static S2 s_s2_17 = new S2();
uint uint_30 = 1;
S1 s1_32 = new S1();
S2 s2_33 = new S2();
public uint Method92(float p_float_2460, out S1 p_s1_2461, S1 p_s1_2462, S1 p_s1_2463, ref S2 p_s2_2464, S2 p_s2_2465, S2 p_s2_2466, out double p_double_2467, S1 p_s1_2468, S1 p_s1_2469, ref S2 p_s2_2470, S2 p_s2_2471, out S1 p_s1_2472, S1 p_s1_2473, ref S2 p_s2_2474, ref S2 p_s2_2475)
{
unchecked
{
p_s1_2461 = s1_32;
p_double_2467 = 15+4;
p_s1_2472 = s_s1_16;
return uint_30 ^= 15-4;
}
}
public void Method0()
{
unchecked
{
uint uint_2707 = 1;
S1 s1_2709 = new S1();
S2 s2_2710 = new S2();
uint_2707 = Method92(15+4, out s_s1_16, s1_2709, s_s1_16, ref s2_2710, s_s2_17, s2_33, out s_s2_17.double_1, s_s1_16, s_s1_16, ref s2_33, s2_33, out s1_32, s1_32, ref s2_33, ref s2_2710);
return;
}
}
public static void Main(string[] args)
{
new TestClass().Method0();
}
}
/*
--------- Test ---------
Environment:
set COMPlus_TieredCompilation=0
set COMPlus_AltJitName=clrjit_universal_arm_x86.dll
set COMPlus_AltJit=Method0
Assert failure(PID 38952 [0x00009828], Thread: 26432 [0x6740]): Assertion failed 'varTypeIsSIMD(arg) || (info->GetStackSlotsNumber() == 1)' in 'TestClass:Method0():this' during 'Lowering nodeinfo' (IL size 105)
File: D:\git\dotnet-runtime\src\coreclr\jit\lower.cpp Line: 1260
Image: d:\git\dotnet-runtime\artifacts\tests\coreclr\windows.x86.Checked\tests\Core_Root\CoreRun.exe
*/