You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following program hits a JIT assert when optimizing:
Reproduction Steps
// Generated by Fuzzlyn v1.5 on 2022-03-06 15:47:05// Run on X64 Windows// Seed: 15359287904507074268// Reduced from 41.3 KiB to 0.3 KiB in 00:00:50// Hits JIT assert in Release:// Assertion failed 'type == genActualType(type)' in 'Program:M2(ushort,System.Int64[])' during 'Morph - Global' (IL size 19; hash 0x80f5fca2; FullOpts)// // File: D:\a\_work\1\s\src\coreclr\jit\compiler.hpp Line: 1484// publicclassProgram{publicstaticbools_1;publicstaticvoidMain(){varvr1=newlong[]{0};M2(0,vr1);}publicstaticvoidM2(ushortarg1,long[]arg2){s_1=arg2[0]!=0;arg1+=arg1;}}
Expected behavior
No JIT assert hit.
Actual behavior
JIT assert hit.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
This looks like a new assert added in #65257 (but perhaps uncovering some invalid IR), cc @SingleAccretion
cc @dotnet/jit-contrib
Activity
ghost added
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Activity
SingleAccretion commentedon Mar 6, 2022
Is the culprit. Should be an easy fix.