Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT SVE: Assertion failed 'isVectorRegister(reg4)' during 'Generate code' #105719

Closed
jakobbotsch opened this issue Jul 30, 2024 · 2 comments · Fixed by #105812
Closed

JIT SVE: Assertion failed 'isVectorRegister(reg4)' during 'Generate code' #105719

jakobbotsch opened this issue Jul 30, 2024 · 2 comments · Fixed by #105812
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI arm-sve Work related to arm64 SVE/SVE2 support in-pr There is an active PR which will close this issue when it is merged Priority:2 Work that is important, but not critical for the release
Milestone

Comments

@jakobbotsch
Copy link
Member

// Generated by Fuzzlyn v2.2 on 2024-07-30 18:00:04
// Run on Arm64 Windows
// Seed: 6768625678076243005-vectort,vector64,vector128,armsve
// Reduced from 134.0 KiB to 0.5 KiB in 00:00:38
// Hits JIT assert in Release:
// Assertion failed 'isVectorRegister(reg4)' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Generate code' (IL size 51; hash 0xade6b36b; FullOpts)
//
//     File: C:\dev\dotnet\runtime\src\coreclr\jit\emitarm64sve.cpp Line: 5891
//
using System;
using System.Runtime.CompilerServices;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;

public class Program
{
    public static void Main()
    {
        var vr3 = Sve.CreateTrueMaskInt32();
        var vr4 = Vector.Create<int>(1);
        var vr5 = Vector128.CreateScalar(0).AsVector();
        Vector<int> vr6 = Sve.ConditionalSelect(vr3, vr4, vr5);
        System.Console.WriteLine(vr6);
    }
}

cc @dotnet/jit-contrib @dotnet/arm64-contrib

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 30, 2024
@jakobbotsch jakobbotsch added the arm-sve Work related to arm64 SVE/SVE2 support label Jul 30, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 30, 2024
@jakobbotsch jakobbotsch added this to the 9.0.0 milestone Jul 30, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Jul 30, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@a74nh
Copy link
Contributor

a74nh commented Jul 31, 2024

priority:2 for RC1 snap : Functionality issue

@a74nh a74nh added the Priority:2 Work that is important, but not critical for the release label Jul 31, 2024
@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Aug 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI arm-sve Work related to arm64 SVE/SVE2 support in-pr There is an active PR which will close this issue when it is merged Priority:2 Work that is important, but not critical for the release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants