-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 SuperPMIin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Milestone
Description
static Vector<int> ConditionalSelect1CC()
{
return Sve.ConditionalSelect(
Sve.CreateTrueMaskInt32(SveMaskPattern.VectorCount1),
Vector.Create<int>(3),
Vector.Create<int>(4)
);
}
Assert failure(PID 1207671 [0x00126d77], Thread: 1207671 [0x126d77]): Assertion failed 'OperIs(GT_CNS_VEC)' in 'ConditionalSelectConstants:ConditionalSelect1CC():System.Numerics.Vector`1[int]' during 'Morph - Global' (IL size 24; hash 0x36e039d8; FullOpts)
File: /mnt/sdb/home/alahay01/dotnet/runtime_sve/src/coreclr/jit/gtstructs.h:64
Image: /mnt/sdb/home/alahay01/dotnet/runtime_sve/artifacts/tests/coreclr/linux.arm64.Checked/Tests/Core_Root/corerun
This is because since #115566 the mask in arg is imported as a constant mask. This now triggers the constant folding in gtFoldExprHWIntrinsic()
.
Metadata
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 SuperPMIin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
dotnet-policy-service commentedon Jun 20, 2025
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
Arm64 SVE: Fix conditionalselect with constant arguments
Arm64 SVE: Fix conditionalselect with constant arguments (dotnet#116852)