Skip to content

[Mono] Remainder example fails for LLVMFullAot #79022

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

Closed
TIHan opened this issue Nov 30, 2022 · 2 comments
Closed

[Mono] Remainder example fails for LLVMFullAot #79022

TIHan opened this issue Nov 30, 2022 · 2 comments
Assignees
Milestone

Comments

@TIHan
Copy link
Contributor

TIHan commented Nov 30, 2022

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

public class Program
{
    public static ulong[,] s_1;
    public static int Main()
    {
        // This should not assert.
        try
        {
            ushort vr10 = default(ushort);
            bool vr11 = 0 < ((s_1[0, 0] * (uint)(0 / vr10)) % 1);
        }
        catch {}

        return 100;
    }
}
@ghost
Copy link

ghost commented Nov 30, 2022

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 30, 2022
@marek-safar marek-safar added this to the 8.0.0 milestone Nov 30, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 30, 2022
@jandupej jandupej self-assigned this Nov 30, 2022
jandupej added a commit to jandupej/runtime that referenced this issue Dec 9, 2022
jandupej added a commit that referenced this issue Dec 20, 2022
* [mono][llvm] Added a null-check for 2-dim array accessors, addressing #79022

* [mono][llvm] Adding a regression test for issue #79022

* [mono][llvm] Null check for 2D arrays is now more DRY.

* [mono][llvm] Null-checking on 2D array access, removed restriction to LLVM.
@jandupej
Copy link
Contributor

jandupej commented Jan 6, 2023

The issue has been resolved in PR 79450. Closing.

@jandupej jandupej closed this as completed Jan 6, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants