Skip to content

[Fuzzlyn] Arm64 failure for negation, cast, bitwise-and #84693

@tannergooding

Description

@tannergooding

1 reduced examples are available

// Generated by Fuzzlyn v1.5 on 2023-04-12 13:58:51
// Run on Arm64 MacOS
// Seed: 15653303803842509097
// Reduced from 14.3 KiB to 0.3 KiB in 00:00:10
// Debug: Outputs 255
// Release: Outputs -1
public class Program
{
    public static short s_2;
    public static void Main()
    {
        sbyte vr5 = (sbyte)M8(1);
    }

    public static uint M8(byte arg0)
    {
        s_2 = 1;
        arg0 = (byte)(-s_2);
        var vr1 = arg0 & arg0;
        System.Console.WriteLine(vr1);
        return 0;
    }
}

Metadata

Metadata

Assignees

Labels

arch-arm64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions