-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Description
Created based on an Antigen found example.
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Numerics;
public class Program
{
public static void Main()
{
Foo(default, default);
}
[MethodImpl(MethodImplOptions.NoInlining)]
private static Vector2 Foo(Vector128<float> v1, Vector128<float> v2)
{
return Vector2.Lerp(default, default, Vector128.Dot(v1, v2));
}
}Assert failure(PID 44604 [0x0000ae3c], Thread: 48752 [0xbe70]): Assertion failed 'm_store->TypeGet() == m_src->TypeGet()' in 'TestClass:Foo(System.Runtime.Intrinsics.Vector128`1[float],System.Runtime.Intrinsics.Vector128`1[float]):System.Numerics.Vector2' during 'Morph - Global' (IL size 31; hash 0xa3f337c0; FullOpts)
File: C:\dev\dotnet\runtime4\src\coreclr\jit\morphblock.cpp Line: 671
Image: C:\dev\dotnet\runtime4\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\corerun.exeMetadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI