Skip to content

JIT: Assertion failed 'genActualType(tree->gtType) == genActualType(srct)' #132444

Description

@BoyBaykiller

https://godbolt.org/z/4TW3dYzE6

static bool TestAlignment(Vector128<float> test)
{
    return ((nint)(&test) % 16) == 0;
}
ILC: /root/dotnet/runtime/src/coreclr/jit/optimizer.cpp:3170
ILC: Assertion failed 'genActualType(tree->gtType) == genActualType(srct)' in 'Program:TestAlignment(System.Runtime.Intrinsics.Vector128`1[float]):bool' during 'Morph - Global' (IL size 12; hash 0x62c6f229; FullOpts)

Program terminated with signal: SIGTRAP
Compiler returned: 133

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIuntriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions