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

Assertion failed 'retVal->OperIs(GT_LCL_VAR)' during 'Lowering nodeinfo' #72926

Closed
jakobbotsch opened this issue Jul 27, 2022 · 5 comments · Fixed by #72944
Closed

Assertion failed 'retVal->OperIs(GT_LCL_VAR)' during 'Lowering nodeinfo' #72926

jakobbotsch opened this issue Jul 27, 2022 · 5 comments · Fixed by #72944
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@jakobbotsch
Copy link
Member

Hit in recent jitstress-isas-arm run.
Pipeline run: https://dev.azure.com/dnceng/public/_build/results?buildId=1905701&view=results
Test failure: https://dev.azure.com/dnceng/public/_build/results?buildId=1905701&view=ms.vss-test-web.build-test-results-tab&runId=49527848&resultId=109615&paneView=debug
Console log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-72893-merge-0992787cb8a6487f81/JIT.Directed/1/console.03ebb829.log?helixlogtype=result

    JIT/Directed/StructABI/structreturn/structreturn.sh [FAIL]
      
      Assert failure(PID 2630 [0x00000a46], Thread: 2630 [0x0a46]): Assertion failed 'retVal->OperIs(GT_LCL_VAR)' in 'TestHFAandHVA:ReturnVector64Double():System.Runtime.Intrinsics.Vector64`1[Double]' during 'Lowering nodeinfo' (IL size 15; hash 0xdb77c6ef; FullOpts)
      
          File: /__w/1/s/src/coreclr/jit/lower.cpp Line: 3605
          Image: /root/helix/work/correlation/corerun
@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 27, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 27, 2022
@ghost
Copy link

ghost commented Jul 27, 2022

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

Issue Details

Hit in recent jitstress-isas-arm run.
Pipeline run: https://dev.azure.com/dnceng/public/_build/results?buildId=1905701&view=results
Test failure: https://dev.azure.com/dnceng/public/_build/results?buildId=1905701&view=ms.vss-test-web.build-test-results-tab&runId=49527848&resultId=109615&paneView=debug
Console log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-72893-merge-0992787cb8a6487f81/JIT.Directed/1/console.03ebb829.log?helixlogtype=result

    JIT/Directed/StructABI/structreturn/structreturn.sh [FAIL]
      
      Assert failure(PID 2630 [0x00000a46], Thread: 2630 [0x0a46]): Assertion failed 'retVal->OperIs(GT_LCL_VAR)' in 'TestHFAandHVA:ReturnVector64Double():System.Runtime.Intrinsics.Vector64`1[Double]' during 'Lowering nodeinfo' (IL size 15; hash 0xdb77c6ef; FullOpts)
      
          File: /__w/1/s/src/coreclr/jit/lower.cpp Line: 3605
          Image: /root/helix/work/correlation/corerun
Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch jakobbotsch added this to the 7.0.0 milestone Jul 27, 2022
@jakobbotsch jakobbotsch removed the untriaged New issue has not been triaged by the area owner label Jul 27, 2022
@jakobbotsch
Copy link
Member Author

jakobbotsch commented Jul 27, 2022

Introduced/exposed by fb1d318, cc @EgorBo

@EgorBo
Copy link
Member

EgorBo commented Jul 27, 2022

Hard to say how a x86 only change affected arm here

@jakobbotsch
Copy link
Member Author

Hard to say how a x86 only change affected arm here

Maybe it's the managed changes? Or maybe I messed up the bisection.

@SingleAccretion
Copy link
Contributor

Simple reproduction:

private static Vector64<double> Problem()
{
    var value = 0l;
    return Unsafe.As<long, Vector64<double>>(ref value);
}

Testing a fix right now.

@SingleAccretion SingleAccretion self-assigned this Jul 27, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 27, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 28, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 27, 2022
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants