Repository navigation
Closed
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs
Milestone
Description
// Generated by Fuzzlyn v2.5 on 2025-04-11 19:36:22
// Run on X86 Windows
// Seed: 2880609996874211534-vectort,vector128,vector256,x86aes,x86avx,x86avx2,x86avx512bw,x86avx512bwvl,x86avx512cd,x86avx512cdvl,x86avx512dq,x86avx512dqvl,x86avx512f,x86avx512fvl,x86bmi1,x86bmi2,x86fma,x86lzcnt,x86pclmulqdq,x86popcnt,x86sse,x86sse2,x86sse3,x86sse41,x86sse42,x86ssse3,x86x86base
// Reduced from 130.6 KiB to 0.9 KiB in 00:04:12
// Hits JIT assert in Release:
// Assertion failed 'isContainable || supportsRegOptional' in 'Program:M8():System.Runtime.Intrinsics.Vector128`1[ulong]' during 'Generate code' (IL size 39; hash 0x72979674; FullOpts)
//
// File: D:\a\_work\1\s\src\coreclr\jit\hwintrinsiccodegenxarch.cpp Line: 61
//
using System;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
public class Program
{
public static IRuntime s_rt;
public static byte s_1;
public static Vector128<sbyte> s_17;
public static uint s_22;
public static void Main()
{
var vr17 = M8();
}
public static Vector128<ulong> M8()
{
var vr6 = Vector128.Create(0, 0, s_22, 0);
var vr3 = (ulong)Bmi1.AndNot(0, M23(vr6, ref s_17));
return Vector128.CreateScalar(vr3);
}
public static ref byte M23(Vector128<uint> arg0, ref Vector128<sbyte> arg1)
{
s_rt.WriteLine(arg0);
return ref s_1;
}
}
public interface IRuntime
{
void WriteLine<T>(T value);
}
public class Runtime : IRuntime
{
public void WriteLine<T>(T value) => System.Console.WriteLine(value);
}
@dotnet/jit-contrib @dotnet/intel @saucecontrol
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs
Activity
dotnet-policy-service commentedon Apr 11, 2025
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
saucecontrol commentedon Apr 11, 2025
This one doesn't repro for me locally -- just runs through and ends in the expected NRE:
Looking at the JitDump, everything that's marked contained appears to be valid:
Codegen looks right, too
Is there any environment setup I might be missing?
BruceForstall commentedon Apr 11, 2025
I see
Hits JIT assert in Release. @jakobbotsch what does this mean? Any suggestions? I also couldn't repro it with a few different configuration attempts.jakobbotsch commentedon Apr 14, 2025
It means Fuzzlyn hit a JIT assert when the example was compiled in release mode and run without tiered compilation.
Fuzzlyn records SPMI collections for asserts automatically. You can find it in the "Issues_windows_x86_checked" artifact. I've attached the most reduced failing context below. It reproduces on 159f40e.
col.zip
saucecontrol commentedon Apr 14, 2025
Thanks @jakobbotsch, I see the problem now. Fix incoming...