Closed
Description
Description
The following program hits a NYI in the ARM32 JIT.
Reproduction Steps
// Generated by Fuzzlyn v1.5 on 2021-11-03 13:28:03
// Run on Arm Linux
// Seed: 6887874265338996715
// Reduced from 122.0 KiB to 0.4 KiB in 00:02:32
// Hits JIT assert in Debug:
// Assertion failed '!"NYI: odd sized struct in fgMorphMultiregStructArg"' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Morph - Global' (IL size 20)
//
// File: /__w/1/s/src/coreclr/jit/morph.cpp Line: 4382
//
public struct S0
{
public byte F0;
public sbyte F1;
public bool F2;
public byte F3;
public byte F4;
public byte F5;
public sbyte F6;
}
public class Program
{
public static S0 s_4;
public static void Main()
{
ref S0 vr0 = ref s_4;
M35(vr0);
}
public static void M35(S0 arg0)
{
}
}
Expected behavior
No assert hit
Actual behavior
Assert hit
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
cc @dotnet/jit-contrib